• Post Reply Bookmark Topic Watch Topic
  • New Topic

DataTable - selectionMode="multiple" problem

 
Kishen Singh Punjabi
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a dataTable with checkbox in header and check box in each row , when checkbox in header is selected all the rows will be selected.
When I select one/more rows a button should be enabled which is happening because a listener is invoked when a row is selected / unselected.
When I select the checkbox in header all the rows are getting selected but the listener is not invoked..what am I missing here..

My xhtml :


My Manager Class :



I am using primefaces-3.5 , javax.faces-2.1.14
I cannot upgrade my primefaces..


Thanks in Advance..
 
Kishen Singh Punjabi
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it resolved by adding



and listener method in Manager
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!