DataTables: filter search rows + child rows

Deadly 提交于 2019-12-25 05:15:52

问题


http://www.datatables.net/examples/api/row_details.html

See in this example as you type in the search field it automatically filters matching rows. But how do I include the child rows within these rows in the filter search as well?

For example if I want to find an extension number that's stored within the record.


回答1:


Use table.rows().nodes().

Reference: https://datatables.net/forums/discussion/19158/how-to-search-through-the-child-row-datatables-1-10



来源:https://stackoverflow.com/questions/26075928/datatables-filter-search-rows-child-rows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!