RegisterSearchFAQ UsergroupsLog in
Can not open ComboBox as CellEditor

 
Reply to topic    Citra Technologies Forum Index » Report a Bug View previous topic
View next topic

Can not open ComboBox as CellEditor
Author Message
cone



Joined: 29 May 2007
Posts: 353

Post Can not open ComboBox as CellEditor Reply with quote
Hi,

since 4.8.6 i can not open ComboBoxes as a CellEditor.

I know that you have MyComboBox in TableComboBoxEditor but there is also a method TableComboBoxEditor(JComboBox comboBox).
Before this version there were no problem if the columns arent fixed.

You can reproduce the problem in DemoPanel:
Code:

private TableCellEditor createComboBoxEditor() {
...
   JComboBox jComboBox = new JComboBox(countries);
//   TableComboBoxEditor combo = new TableComboBoxEditor(countries);
   TableComboBoxEditor combo = new TableComboBoxEditor(jComboBox);
...


cheers, michael
Thu Apr 06, 2017 3:50 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hello,

Ah, this is caused because we change the source of the event inside the inner editor pane instance (MyEditorPane). I didn't realize as I didn't test with normal comboboxes. If you see the code in AdvancedJTable.prepareEditor, you can see that a bunch of code is commented out. I was working on a more general and complete solution for the editors under locked columns, that didn't work out as expected, but now I know how to get all this fixed, so expect a new patch today or tomorrow, that will address the following issue as well:

http://www.citra-tech.com/forum/viewtopic.php?t=885&start=15
Thu Apr 06, 2017 4:16 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

This is now fixed in version 4.9
Mon Apr 10, 2017 11:45 am View user's profile Send private message
Display posts from previous:    

Reply to topic    Citra Technologies Forum Index » Report a Bug All times are GMT - 5 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group