This is a migrated thread and some comments may be shown as answers.

Remove shape/connections edit toolbar

2 Answers 175 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 23 Mar 2015, 04:16 PM
Is there a way to remove the shapes edit toolbar. I've managed to hide the diagrams top toolbar via:

editable: {
    tools: false
},

But can not figure out how to hide the shapes or connections toolbar.

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 25 Mar 2015, 12:29 PM
Hello Lee,

The shapeDefaults.editable.tools and connectionDefaults.editable.tools options can be used to set the toolbar tools for the shapes and connections e.g.
editable: {
  tools: false               
},
shapeDefaults: {
    editable: {
      tools: false
    }
},
connectionDefaults: {
    editable: {
      tools: false
    }
}



Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Lee
Top achievements
Rank 1
answered on 25 Mar 2015, 12:51 PM
Brilliant! That worked great thanks.
Tags
Diagram
Asked by
Lee
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Lee
Top achievements
Rank 1
Share this question
or