|
Re: Navigating Table cells in RAP on client side [message #844944 is a reply to message #840693] |
Sat, 14 April 2012 14:51 |
|
Hi Avrajit,
There is no such concept as a selected cell, neither in the SWT Tree nor
in RAP's client-side Tree implementation. The JFace cell editors mimic
cell selection by suppressing the painting of the selection and setting
cell colors on the selected item.
To implement real client-side cell navigation, you would have to track
the selected column on the client and also report it back to the server
with the next synchronization.
Although the key events could in theory be wired with the client
scripting, I imagine that a proper solution would rather add the concept
of cell selection to the client-side Tree implementation and provide
some API extension to enable it and to get the selected column in Java code.
It might even be possible to adapt the JFace cell editor code to use
this extension. However, I'm sure this would require a considerable
amount of work...
Best regards,
Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.03343 seconds