Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Comboboxcelleditor combo values based on cell value(Comboboxcelleditor combo values based on cell value)
Comboboxcelleditor combo values based on cell value [message #1816582] Thu, 31 October 2019 19:46 Go to next message
dhruba kumar is currently offline dhruba kumarFriend
Messages: 51
Registered: September 2012
Member
I have created a nattable with two-column: column-A & column-B with two rows.
Column-A is TextEditor & Column-B is ComboboxCellEditor
Now for First-row, Column-A has value "1" , and for Second row column-A has value "2" .

Now based on Column- A value , column-B , combobox will have diffrent values.

ie for first row , column-A has value "1" , Column-B combo will have value "11" ,"12" ,"13"

for second-row Column-B has value "2" . Column-B combo will have value "21" ,"22","23" .

How to achieve different combo values based on cell value.
Re: Comboboxcelleditor combo values based on cell value [message #1816585 is a reply to message #1816582] Thu, 31 October 2019 21:05 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member
You need to implement a custom ICombobixDataProvider that is able to react on other cell values.

https://www.eclipse.org/nattable/documentation.php?page=faq
Previous Topic:Filter converted data
Next Topic:Trouble with content assist in TextCellEditor
Goto Forum:
  


Current Time: Wed Jun 16 15:31:22 GMT 2021

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

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

Back to the top