开发者

how to do datatable filter using jsf?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜