SOLVED - Row grouping - Maintain the group values fixed while sorting

SOLVED - Row grouping - Maintain the group values fixed while sorting

leopuccileopucci Posts: 3Questions: 1Answers: 0
edited July 2015 in Free community support

Hi there!

I am using this example (https://datatables.net/examples/advanced_init/row_grouping.html)

It works fine if you don´t need to sort columns.
But when I click on any colum filtering, it brokes the grouping and filter all info.

Before: http://prntscr.com/7spuk9

After: http://prntscr.com/7spv85

So it does not keep grouping TOGETHER if creates several sub-groups.

Is there a way to do it?

My thinking on api.column.data.each was to create a row to make the filtering work, like adding something like A, A1,A2,A3,A4,B,B1,B2.

My intention is to filter from the bigger group, to the smaller.

Anyone achieved something like that?

Thanks,

Pucci

Answers

This discussion has been closed.