- Welcome, Guest. Please Login or Register
MindFusion  
  Version 2 of our Xamarin Calendar component adds Resource view and support for Universal Windows Platform. Now beta testing spreadsheet component for Java Swing. We have released our Java Swing Pack.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Can I use standard swing table cell editor and renderer in spreadsheet?
Read 45 times

john   Offline
YaBB Newbies
*
Posts: 6
I Love MindFusion!


   
     
 
Can I use standard swing table cell editor and renderer in spreadsheet?
Sep 5th, 2017 at 8:46am
 
as title

thanks.
 
 
 
IP Logged    
 
     

Meppy   Offline
YaBB Moderator
*****
Posts: 1769
Gender: male
MindFusion support


   
     
 
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #1 - Sep 5th, 2017 at 9:30am
 
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:
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
 
 
 
IP Logged    
 
     

john   Offline
YaBB Newbies
*
Posts: 6
I Love MindFusion!


   
     
 
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #2 - Sep 7th, 2017 at 7:28am
 
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.
 
 
 
IP Logged    
 
     

Meppy   Offline
YaBB Moderator
*****
Posts: 1769
Gender: male
MindFusion support


   
     
 
Re: Can I use standard swing table cell editor and renderer in spreadsheet?
Reply #3 - Sep 8th, 2017 at 7:54am
 
Hi,

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

Regards,
Meppy
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print