Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TableNode Stop Editing Rows and Columns values (Read 1861 times)
muthuhamid
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Feb 1st, 2009
TableNode Stop Editing Rows and Columns values
May 2nd, 2009 at 7:20am
Print Post  
Hi

Am using tablenode and some other nodes (Shape node and control nodes ) in my diagram.

Now i want to stop the user editing or changing the text in Rows and columns of a particular table node but user can do change the text in other nodes.

How can i do this?

Any Help Pls.

Thanks
Hamid
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TableNode Stop Editing Rows and Columns values
Reply #1 - May 4th, 2009 at 8:09am
Print Post  
Hi,

Set AllowInplaceEdit = false, handle the NodeDoubleClicked and CellDoubleClicked events, and call DiagramView.BeginEdit for the items that the user is allowed to edit.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
muthuhamid
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 60
Joined: Feb 1st, 2009
Re: TableNode Stop Editing Rows and Columns values
Reply #2 - May 5th, 2009 at 6:35am
Print Post  
Thanks Stoyo Superb.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint