|
Re: getting the selected cell, or other way of putting a link in a table cell [message #118634 is a reply to message #118376] |
Mon, 19 January 2009 11:48 |
Rüdiger Herrmann Messages: 581 Registered: July 2009 |
Senior Member |
|
|
Tom,
the underlying table widget does not support the concept of cells.
To work around this, you could try to use mouse listeners and derive
the selected cell from the x/y coordinates. The CellEditor code does
something similar, look there for more info.
If the amount of data to display is rather small, you may be better
off with a custom widget, e.g. composed out of Link widgets with an
appropriate layout.
HTH
Rüdiger
Tom H wrote:
> Hi,
> I apologise for asking what appear to be very simple questions, but I
> really am struggling to find an answer in google or the jfaces docs...
>
> I would really like to be able to know which cell is selected in a
> TableViewer or alternatively insert a link into the cell which I would
> attached a listener to, but I can't find much on it...
>
> Any ideas?
>
> Thanks,
>
> T
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.01735 seconds