Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » A question about ComboBoxCellEditor
A question about ComboBoxCellEditor [message #1097648] Fri, 30 August 2013 01:46 Go to next message
Kevin Green is currently offline Kevin Green
Messages: 2
Registered: August 2013
Location: Beijing
Junior Member
How can I bind different ComboBoxes to different cells which belong to the same column?
For example, there's a table with two line( L1,L2) and one column (C1),and I would like to bind a ComboBox with (A,B,C)to L1.C1 and bind a ComboBox with (A,D,E) to L2.C1.
Does anybody know how to do it ?
Thanks!
Re: A question about ComboBoxCellEditor [message #1097828 is a reply to message #1097648] Fri, 30 August 2013 08:03 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1839
Registered: July 2009
Senior Member
Hi Kevin,
If you are using plain table you could create two TableEditors for
different items. In JFace, changing the content of the
ComboBoxCellEditor dynamically is an option. As this is not a RAP
specific question, you could get a more appropriate answer in JFace forum.
Best,
Ivan

On 8/30/2013 4:46 AM, Kevin Green wrote:
> How can I bind different ComboBoxes to different cells which belong to
> the same column?
> For example, there's a table with two line( L1,L2) and one column
> (C1),and I would like to bind a ComboBox with (A,B,C)to L1.C1 and bind
> a ComboBox with (A,D,E) to L2.C1.
> Does anybody know how to do it ?
> Thanks!

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:HTTP POST request problems with RAP 2.0
Next Topic:rwt-resource for browser widget
Goto Forum:
  


Current Time: Thu Oct 23 19:59:40 GMT 2014

Powered by FUDForum. Page generated in 0.01937 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software