Gwt getCellForEvent flexTable
问题 I`m trying to add addValueChangeHandler function to a TextBox inside a flexTable. But when I add this code: int rowIndex = tableImages.getCellForEvent(event).getRowIndex(); I use this method to know the current row in case of a ClickEvent. the method is not acceptable for ValueChangeEvent, so how can I know what is the row Index for the changed cell? Thank you. 回答1: Well yes, because it needs a Cell itself, not a TextBox or event value. What you can do, is: Get the event Source via event