Group datatable by multiple colum
Group datatable by multiple colum
niravathpintu
Posts: 3Questions: 2Answers: 0
I want to group by two columns in datatable. is it possible.
I have visited these link, but in that only one column can be grouped
https://datatables.net/examples/advanced_init/row_grouping.html
https://datatables.net/blog/2017-04-07
This discussion has been closed.
Answers
I have attached a sample also
Hi @niravathpintu ,
You can use
order
to define the initial order (the second example there show multi-column ordering), or you can use the API for post-initialisation order withorder()
,Cheers,
Colin