I am using flextable of com.google.gwt.user.client.ui.FlexTable.

It neither has addClickhandler nor getCellForEvent() function.
I have FlexTable reference with me, but How can i get on which row
they clicked.

Thanks
Rohan


On Jul 11, 5:42 am, waf <[email protected]> wrote:
> Hi
>
> You should add ClickHandler to your table and then use
> getCellForEvent from which you can get the row and col
> indexes
>
> Somewhere inside onClick:
>
> YourTable table= (YourTable)event.getSource();
> Cell cell= table.getCellForEvent(event);
> use cell.getRowIndex() and/or cell.getCellIndex()
>
> --
> waf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to