Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select All option in rich:datatable

 
rashmi coorg
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a richfaces datatable, where in i will be displaying values in multiple pages with 15 rows per page. i need to include a 'select all' option as the first column in the table.
when the user selects the 'select all' option, all the checkboxes in that particular page should be selected. But the way i have implemented, i am getting all the checkboxes getting selected
including the rows of other pages also. How can this be avoided? Suggestions please..
 
Marcos Vidolin
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I usually use that snippet code:



[]'s
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic