Not correctly order at nested group at inityalize datatables.rowGroup (at the "nightly")
Not correctly order at nested group at inityalize datatables.rowGroup (at the "nightly")
nofx
Posts: 3Questions: 1Answers: 0
http://jsfiddle.net/no_fx/xpvt214o/769575/
if click on "Position" column (order asc) and view on the "Chief Executive Officer (CEO)" group - order at nested group ("London") is not quite correct. (illustration - If order by "Office" (click on) and again order by "Position", then this "inner" order will correct). It is consider a bug?
p.s. sorry for my bad english
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I think you will want to use the
orderFixed
option. Something like this:http://jsfiddle.net/6khyb75w/
More info in this example:
https://datatables.net/extensions/rowgroup/examples/initialisation/fixedOrdering.html
Does this resolve your issue?
Kevin
Yes.
But, i expect this result:jsfiddle.net/no_fx/6khyb75w/18/
where nested group not repeat at self group
Hi @nofx ,
another option is to use
columns.orderData
so redefined what a sort to the Position column should do. See this example here.Cheers,
Colin