Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Select and Copy Text from Table Node (Read 4426 times)
Matthias
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Mar 21st, 2012
Select and Copy Text from Table Node
Mar 21st, 2012 at 7:47am
Print Post  
Hello,

is it possible to select Text in a TableNode to copy to the Clipboard?

I "played" with different Diagram Behavior's and if there is no better solution I will use the "DoNothing" Behavior and get the text by identifying the selectet TableCell by position and copy the Cell text to the Clipboard. I hope there is a better way.

Thanks and Regards
Matthias
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Select and Copy Text from Table Node
Reply #1 - Mar 21st, 2012 at 8:40am
Print Post  
Hi,

Which of our components are you using? You have posted in the JavaScript forum but we haven't implemented TableNodes yet in the JavaScript library. In any case, direct selection of text is not supported, however you could call the BeginEdit method for a cell under the mouse pointer and then the user will be able to select and copy text from this cell.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Matthias
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Mar 21st, 2012
Re: Select and Copy Text from Table Node
Reply #2 - Mar 21st, 2012 at 11:40am
Print Post  
Hi,

thanks for the quick reply.

We use the JDiagram.jar as Applet in a HTML. And we use TableNodes dg.getFactory().createTableNode

Ok, no text selection.

BeginEdit is a another good option.

Thanks,
Matthias
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint