Group by same value rows in column

Hello,

So I have trying to achieve something like in the image:
image

Basically, I want that if some rows have the same value in the column "Type", I want them to be grouped and show a single cell in the column with the value.

I haven't been able to do it without hiding the group column...

Is this possible?

Check this demo:

First, thank you!

But It seems that it does not play nice with Frozen columns.
I checked every value and the two first columns are consistently rendered like in the image. I even tried to don't had the rowspan when the value is just one record.

Out of curiosity and information for later developers, I have filled a new column with the number of records that have the same "ProductType", that's how I managed to know the size of the rowspan in each record.

The code:
void CellRender (DataGridCellRenderEventArgs args)
{
int ptCount = args.Data.ProductTypeCount;

       if ( args.Column.Property == "ProductType" && ptCount > 1)
       {
           args.Attributes.Add ("rowspan", ptCount);
       }
   }

There is no problem to freeze a column that spans rows, it will be a problem if you try both colspan and frozen columns:


Yes but mine it's not working.
It was a problem with the update of new Theme.