Saturday, January 8, 2011

Re: Move the cursor (not the selection) in a CellTable from the code

I changed the design, this is not an issue anymore...

On Jan 8, 12:51 am, Y2i <yur...@gmail.com> wrote:
> It is possible, by calling SingleSelectionModel.setSelected(...), to
> change the selection (blue line) in a CellTable from the code.
>
> Is it possible to change the cursor (yellow line) in the CellTable
> from the code?
>
> I tried
>
> DomEvent.fireNativeEvent(Document.get().createKeyCodeEvent("keydown",
> false, false, false, false, KeyCodes.KEY_DOWN), cellTable);
>
> and it didn't work.  I also tried "keypress" and "keyup" instead of
> "keydown" with negative results.
>
> Any help would be greatly appreciated!

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate