MickeyR mnrooney@... writes:
Oh MickeyR I am currently working on the same issue:
FlexTable (file list) wrapped with a FocusPanel is placed inside a
ScrollPanel.
But currently I even cannot capture the keyDownEvent with the FocusPanel.
Would
you be so kind to email me your source code please?
Cracking !
Works like a dream the scrollIntoView().
Many thanks,
M.
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
Thanks for that.
Event#preventDefault() does indeed stop the ScrollPanel from
scrolling.
But the problem now is that my selected cell goes out of sight.
So if I keep on pressing the Key.DOWN it goes past the visible range.
So is there a way to stop the browser from scrolling with every UP/
DOWN
The scrolling of ScrollPanel is not related to the height of a row, so even
if you leave it on, its likely that the scroll amount wouldn't match the row
height, and you would still end up with an offset.
The only universal solution that I know about is to mark one of the cells in
the selected row
Hi,
Got a problem that's stumping me.
I have a FlexTable (displaying several rows of String data) placed in
a ScrollPanel.
In the FlexTable I have a single row selected. So, I want the
FlexTable to respond to UP and DOWN arrow keypress actions to change
the row that is selected. To do this I
Try calling Event#preventDefault() and/or Event#stopPropagation() from your
table code. Some combination of one or both of these should prevent the
ScrollPanel from scrolling.
Also, note that the ScrollPanel isn't actually handling the key event and
changing the scroll position. The browser