Search is not working for inner table. Please help!!

Search is not working for inner table. Please help!!

vishal.odu@gmail.comvishal.odu@gmail.com Posts: 3Questions: 1Answers: 0

I have implemented expand collapse/Detail view for datatable by following the code for the example shown here: http://datatables.net/examples/api/row_details.html

It works perfectly for expand collapse and seach for the main Row. But search doesn't work for the nested table (expanded row) values. It doesn't work in the example shown at http://datatables.net/examples/api/row_details.html. How can I make the search work for inner table as well?

Answers

  • vishal.odu@gmail.comvishal.odu@gmail.com Posts: 3Questions: 1Answers: 0

    Can someone please help?

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin

    You need to include the information that you want to be searchable in the host row. That can be in a hidden column if you wish, but it needs to be in the row.

    Allan

  • vishal.odu@gmail.comvishal.odu@gmail.com Posts: 3Questions: 1Answers: 0

    Perfect.. its working. Thanks Alan!

This discussion has been closed.