Datatables query in jquery
Datatables query in jquery
brahmasani
Posts: 11Questions: 2Answers: 0
Hi,
I am using jquery data tables, in that i have used the one column to expand the row and collapse but when i try to do search on the expanded field values it is not working. Can you help me on this please.
Thanks in advance
Siva
This discussion has been closed.
Answers
if the question is not clear please point me the that also. its very urgent for me. Please help me out.
Can you post your website or a test case or something so people can troubleshoot your issue?
See this post for instructions: https://www.datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read#latest
As in you want to use DataTables' searching abilities for the content in the child rows? That isn't possible. DataTables search will only search on the data in the parent rows. If you want the child row data included in the search data, you would need to put it in a hidden column.
Allan
p.s. For urgent support requests - priority support is available
HI Allan,
Thanks for the reply. Can you help me how can i make the data search on child row also. In my table i used the different table for the child rows. But i am using same table tool (same data table) for both child row and parent row.
Thanks
Siva Brahmasani
As I said, DataTables doesn't have that ability. As I also said, do to that, you would need to put the searchable content in a hidden column.
Allan
ok thanks allan, I will try that option.
And i have asked one more question yesterday, i did not get the response.
The link is http://datatables.net/forums/discussion/22715/datatables-query-in-jquery#latest
Can you help me on this
Thanks in advance
Siva Brahmasani
What you could do is use serverside processing and search for it in your sql query.