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. Image for the cookie policy date
close icon

Where can i find all commands in "commandManager"?

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");
                        }
                    }
                }


1 Reply

SG Shyam G Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon