I'm trying to find a way to use an external filter to my dataTable, I have a dataTable with a few columns (id, type, name etc...), I want to add an external filter which looks like a set of checkboxes for all the types, for example if my dataTable lokk like:
id type name
1 type1 name1
2 type1 name2
3 type2 name3
so my filter will look like the following:
[v] type1 (2)
[v] type2 (1)
Then, when user presses on type1 checkbox I want to display all the rows where type is type1, if type2 checkbox is also selected then I want to display also all rows where type is type2 and so on.....
Could you recommend the best way to do so in JSF 2 ???
Hug your destiny! And hug this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads