How can I unselect a row that has been selected ?
- from UI
- and programatically
tr:table , with rowSelection="single" does not seem to let user unselect
an already selected row.
Is this possible ?
BTW, when user clicks on an already selected row, the selectionListener of
the table does NOT get called.
Is this expected ?
Also, it seems, when I bind the table (let's say subTable variable in
the ManagedBean)
then, I can do;
RowKeySet __selectedRowKeySet = subTable.getSelectedRowKeys();
System.out.println(" look will do __selectedRowKeySet.removeAll()"
);
__selectedRowKeySet.removeAll();
subTable.setRowIndex(-1); // -1 to clear current row.
Is this the right way to unselect programatically.
________________________
Ilker Kiris
CTSD - DASF Group
Pershing LLC, a subsidiary of The Bank of New York Mellon Corporation
www.pershing.com
Office: (201)-413-4635
Fax: (201)-413-9141
Email: [email protected]
******************************************************
IMPORTANT: Any information contained in this communication is intended for the
use of the named individual or entity. All information contained in this
communication is not intended or construed as an offer, solicitation, or a
recommendation to purchase any security. Advice, suggestions or views presented
in this communication are not necessarily those of Pershing LLC nor do they
warrant a complete or accurate statement.
If you are not an intended party to this communication, please notify the
sender and delete/destroy any and all copies of this communication. Unintended
recipients shall not review, reproduce, disseminate nor disclose any
information contained in this communication. Pershing LLC reserves the right to
monitor and retain all incoming and outgoing communications as permitted by
applicable law.
Email communications may contain viruses or other defects. Pershing LLC does
not accept liability nor does it warrant that email communications are virus or
defect free.
******************************************************