CellTable keeps record of the 'hoveringRow'. This attribute can change inside the onBrowserEvent2 (http://www.google.com/codesearch/p? hl=en#A1edwVHBClQ/user/src/com/google/gwt/user/cellview/client/ CellTable.java&q=hoveringRow%20package:http://google-web-toolkit %5C.googlecode%5C.com&l=881) method. You could override that method, call super and check for a change afterwards. That's the detection part. Then add a method to your own CellTable to allow setting the hovering row.
I haven't tested it, but it sounds like it could work. Good luck! On Feb 11, 9:14 am, Musicman75 <stephan.beu...@googlemail.com> wrote: > Hello, > > I've two celltables inside a horizontalPanel. > > The first table contains line numers and the second one contains > text. > > I need to syncronize the hovered rows in both tables. If the user > moves the mouse over one table, the row should be hovered in the > second table too. > > Does someone knows how I could solve this problem? > I can't use only one table, because if the user selects the text in > the second table, the line numbers shouldn't be selected. > > Regards > Stephan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.