How to do child rows sorting

How to do child rows sorting

AlbionAlbion Posts: 2Questions: 2Answers: 0
edited October 2016 in Free community support

I want to sort child rows while keep those child rows under parent row
found a example using Tablesorter : http://keyboarddrummer.github.io/tablesorter/docs/example-tree-table.html

but i would like to do the same thing using Datatable
Eg: this my html table

https://fiddle.jshell.net/56xgncsu/3/

Answers

  • edavsaaedavsaa Posts: 3Questions: 1Answers: 0

    I need the same, is it possible?

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Are you intending to use DataTables' parent/child processing?
    https://datatables.net/examples/api/row_details.html

  • allanallan Posts: 64,126Questions: 1Answers: 10,579 Site admin

    DataTables does not implement a tree table just now (it isn't likely to in the near future either unless someone wants to contribute it). If you are showing multiple child rows, you'd need to sort them yourself, or have another DataTable inside the child row.

    Allan

This discussion has been closed.