Datatables - Sort by column if column is only available as child row

Datatables - Sort by column if column is only available as child row

CapamaniaCapamania Posts: 233Questions: 81Answers: 5
edited July 2019 in Free community support

How can I sort by a column if the desired column is not available/rendered in the "columns": [] ... and only available as child row?

So similar to this setup: https://datatables.net/examples/api/row_details.html ... how can I sort by 'extn'?

Answers

  • CapamaniaCapamania Posts: 233Questions: 81Answers: 5

    I solved it by adding the column to "columns": [] and hiding it. Works for my use case

This discussion has been closed.