DataTables / RowGroup

RowGrouping extension for DataTables
Other
30 stars 24 forks source link

Group by column transformation #14

Open theangrydev opened 4 years ago

theangrydev commented 4 years ago

It would be great if we could group by a transformation of a column. For example if I have a column with values "[ABC] 123", "[ABC] 456", "[GEH] 678" I want to be able to group by "[ABC]" and "[GEH]".

A current workaround is to add a duplicate column with the transformed data and group by that.

DataTables commented 4 years ago

Nice idea - thanks for this. Using rowGroup.dataSrc as a function would provide this ability. We'll add that ability and write up a blog post about this early in the new year.