We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Where can i find all commands in "commandManager"?

Thread ID:

Created:

Updated:

Platform:

Replies:

127241 Nov 4,2016 12:16 PM UTC Nov 7,2016 12:00 PM UTC JavaScript 1
loading
Tags: ejDiagram
Karol Wlodarek
Asked On November 4, 2016 12:16 PM UTC

Hi

Where can i find all available commands in "commandManager".

I need call event when I editing a label in the node:

         ...
        commandManager: {
            commands: {
                "updateLabel": // What i should type here?
                {
                    execute: function () {
                        alert("Node updated");
                        }
                    }
                }


Shyam G [Syncfusion]
Replied On November 7, 2016 12:00 PM UTC

Hi Karol, 
 
Query 
Response 
Where can i find all available commands in "commandManager". 
Please refer to the below help documentation which shows the built-in keyboard commands. 
 
 
Please refer to the below help documentation in which we have shown how to use command manager.  
 
I need call event when I editing a label in the node: 
 
         ...
        commandManager: {
            commands: {
                "updateLabel": // What i should type here?
                {
                    execute: function () {
                        alert("Node updated");
                        }
                    }
                }
 
You can use the textChange event which triggers when the label editing is ended. if we misunderstood your requirement, please provide us more details such as whether you need an event to be triggered for each key press on the keyboard or elaborate your requirement in detail. 
 
 
 
Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;