I have a flextable and i would like to get info about a row when click on. 
 I have a listener but it is not working correctly

I have this click handler, but it is not working, am i doing this right? 
well, atleast close to being right?

Thanks

FlexTable fileTable = new FlexTable();

 fileTable.addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
                Cell cell = fileTable.getCellForEvent(event);
                int receiverRowIndex = cell.getRowIndex();
                System.out.println(receiverRowIndex);
            }
        });

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/G5EGEI-gbDQJ.
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