I can't search on child rows detailed information.

I can't search on child rows detailed information.

robin1robin1 Posts: 4Questions: 2Answers: 0

I can't search on child rows detailed information. I tried "$( 'selector', table.rows().nodes() );" but not working. Not finding an example to make this work... any help should be appreciated.

Answers

  • ignignoktignignokt Posts: 146Questions: 4Answers: 39
    edited February 2015

    I'm not sure, but I don't think datatables can do this out of the box. Even a hidden column seems to disable the ability for search to hit it. You can edit the server-side script to include the column though with every search performed.

    In my version of the server-side code, I have an array of database column names I create for every table in the controller, passed ssp.class.php my database that don't have to necessarily be used in the table at all but will still filter results properly. You can take a look here.

  • robin1robin1 Posts: 4Questions: 2Answers: 0

    I already used hidden column and it works for the requirement. Thanks for providing more options.

This discussion has been closed.