PagingScrollTable and RowSelectionHandler called even when column headers clicked

9 views
Skip to first unread message

Open eSignForms

unread,
Nov 23, 2009, 8:53:02 PM11/23/09
to Google Web Toolkit
I'm using the 1.7 version of PagingScrollTable from the incubator with
my 2.0RC1 GWT and the table seems to function fine, but I noted that
when I click on the header columns (which are allowed for sorting), my
RowSelectionHandler still fires onRowSelection(), even though no new
rows were clicked.

I prefer to only know when a new row is selected (my table is set to
select one row when it's clicked) since I take action then. But when
I click on the table's header, it fires again, and then my code thinks
it's time to do the action again. It shows the same selected row that
was selected before when it was clicked directly. Is there a way to
know if it's the header that's been clicked and not data row? Or is
the RowSelectionHandler not the right one for me?

Is there a way to deselect a row that's been selected?

Thanks....
Reply all
Reply to author
Forward
0 new messages