Cells with subrows + sorting
Cells with subrows + sorting
heinrich123
Posts: 2Questions: 0Answers: 0
Hello,
is it possible to create a table like in the following screenshot: http://www.wertpapier-forum.de/uploads/post-2019-1154935103.png ?
The main difference to a "default" DataTables configuration is, that there are multiple (sub)rows in each cell. If a specific header subrow is clicked, the table is sorted accordingly.
Is this supported with some configuration? If not, any ideas for tweak?
Thanks!
is it possible to create a table like in the following screenshot: http://www.wertpapier-forum.de/uploads/post-2019-1154935103.png ?
The main difference to a "default" DataTables configuration is, that there are multiple (sub)rows in each cell. If a specific header subrow is clicked, the table is sorted accordingly.
Is this supported with some configuration? If not, any ideas for tweak?
Thanks!
This discussion has been closed.
Replies
Allan
(*) - Actually yes it is possible, you can use aaSortingFixed and a hidden grouping column to provide this functionality - but it isn't a 'first class' feature of DataTables that is trivial to use - for example filtering can get complicated - remove one of the child rows with a filter and the other two should also go, which would require a custom filtering module.