Editor Inline Editing Row Grouping Example
Editor Inline Editing Row Grouping Example
I'm looking for a Row Grouping Example using the Inline editing feature.
I'm actually looking to put an input field or control in the group row -- the plan is to insert the ValForGroup input control with value (using data from first row in group) with an onchange to manually update the ValForGroup in the table ... then redisplay the table. Does that sound feasible?
It would be helpful to start with an example of Row Grouping and Inline Edit.
Group ValForGroup Item ValForItem
================================================
Group1 [ 2 ]
------------------------------------------------
Item1 1
------------------------------------------------
Item2 2
------------------------------------------------
Group2 [ 3 ]
------------------------------------------------
Item3 1
------------------------------------------------
Item4 3
------------------------------------------------
Item5 2
------------------------------------------------
This question has an accepted answers - jump to answer
Answers
DataTables doesn't really support row grouping at the moment - there is this workaround, but there isn't really any proper support for row grouping at this time I'm afraid.
Allan
This worked famously for me -- I had to write my own data handler (for saving the value only), but it works really great. Now I have an editable field on the Group row for a value common to the group of records.