Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can I use standard swing table cell editor and renderer in spreadsheet? (Read 1837 times)
john
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Aug 31st, 2017
Can I use standard swing table cell editor and renderer in spreadsheet?
Sep 5th, 2017 at 7:46am
Print Post  
as title

thanks.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #1 - Sep 5th, 2017 at 8:30am
Print Post  
Hi,

I'm afraid this is not possible. We are currently using JTextArea as a cell editor. You can use a custom cell editor by listening to the inplaceEditStarting event:

Code
Select All
workbookView.addViewListener(new WorkbookViewAdapter() {
	@Override
	public void inplaceEditStarting(InplaceEditValidationEvent e) {
		e.setEditControl(myEditor);
	}
} 


If there are some some specific features from the swing editors you would like to see in the spreadsheet, we could try implementing them in the existing editor.

Regards,
Meppy
  
Back to top
 
IP Logged
 
john
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: Aug 31st, 2017
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #2 - Sep 7th, 2017 at 6:28am
Print Post  
We are looking for editor with check box, radio button, combo box (include editable combo box, and multiple selection), date chooser, etc.

Also the cell can be rendered with its component, not just text value.

We can foresee a custom rendering is needed on specific data in a cell.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #3 - Sep 8th, 2017 at 6:54am
Print Post  
Hi,

Unfortunately support for components embedded in spreadsheet cells is not currently available, but is planned for a future release.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint