简体   繁体   中英

Primefaces one datatable filter for two tables

I have a table that is embedded in another table. I need to make a filter that works for both tables. Now search for only occurs on the first nested table does not affect

My Code

样本

I don't think that's possible client-side. I would use the input from search field to filter your list which populates the dataTables manually (in the backing bean) and then update your table afterwards.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM