Unselect Row in DataTable

UI Components for JSF
Post Reply
abhijit.nayak
Posts: 13
Joined: 27 Jul 2011, 13:55

15 Sep 2011, 11:27

Hi,
Please let me know how we can Programatically Unselect a row from a Multi Select - Data table
Abhijit
primefaces-3.0.M2-SNAPSHOT

HADES666
Posts: 1
Joined: 19 Aug 2013, 15:37

23 Aug 2013, 14:32

You have to use widgetvar atribute for naming datatable and then you can use unselectAllRows() function.

for example

<p:dataTable ...widgetVar="myTableVar"....


>
then may be You show some <p:dialog.. and you can use ajax on closing event

<p:dialog>
<p:ajax event="close" oncomplete="myTableVar.unselectAllRows()" update..../>

</p:dialog>

Hope this help" ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 37 guests