Skip to main content



      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 15:46 Go to next message
Eclipse UserFriend
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 17:05 Go to previous message
Eclipse UserFriend
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: Fri May 16 18:06:14 EDT 2025

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

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

Back to the top