• Post Reply Bookmark Topic Watch Topic
  • New Topic

Filtering in displayed rows in DataTable  RSS feed

 
Bahadur Shah
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Above my datatable, there is a Check Box.
When I click on the check box, I want to show only some rows on the filtered table based on a flag in the binded VO.

Can any one please help me how to do this?
 
Bahadur Shah
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm putting rendered attribute in each of the columns in the datatable, rendered="#{MyVO.showFiltered}"

So, it is hiding rows when the showFiltered is false(when the checkbox is unchecked).
But the dataScroller attached to the table, it is showing the number records as all rows. not just the filtered rows count.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!