Hi,
Please let me know how we can Programatically Unselect a row from a Multi Select - Data table
Unselect Row in DataTable
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"
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"
-
- Information
-
Who is online
Users browsing this forum: No registered users and 37 guests