DataTable过滤子行 [英] DataTables filter child rows

查看:271
本文介绍了DataTable过滤子行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有子行的DataTable(请参见示例: http:// www。 datatables.net/examples/api/row_details.html

I have a DataTable with child rows(see example here: http://www.datatables.net/examples/api/row_details.html)

搜索输入调用fnFilter()来过滤表,但它只会过滤主行。我想要过滤器也搜索小孩行。我搜索了很多,但没有找到任何解决方案。

The search-input calls fnFilter() to filter the table, however it only filters the main rows. I would like the filter to search through the child rows aswell. I've searched a lot but havn't found any solution.

有没有办法这样做?

推荐答案

你可以查看我的问题,@davidkonrad给了一个很好的解决方法: DataTable搜索子行内容

You can check out my question on this, @davidkonrad gave a nice workaround solution: DataTables search child row content

这篇关于DataTable过滤子行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆