开发者

how to do datatable filter using jsf?

开发者 https://www.devze.com 2023-01-10 05:05 出处:网络
I want to do the filter in data table using jsf.In the datatable i have to filter the values what ever in the datatable.

I want to do the filter in data table using jsf.In the datatable i have to filter the values what ever in the datatable.

There is first dropdown and based on the drop down second drop drow开发者_JAVA百科 will enable with value.Based on the that values display in the datatable.

Could you give me some sample ot ideas.Please....


I would recommend to you to use prepared components for JSF

Try PrimeFaces.

They have a table with an option to filter.

See a demo of database with the filter option here


Try AJAX. When the first selection fires off an event, make an AJAX call back to a service to query the database for the second drop down values using the selected value.

0

精彩评论

暂无评论...
验证码 换一张
取 消