simple hierarchy - edit menu

2 posts, 0 answers
  1. Justin Lee
    Justin Lee avatar
    167 posts
    Member since:
    Dec 2009

    Posted 06 Jul 2017 Link to this post


    I want to use a diagram to display a simple hierarchy, exactly like the "basic usage" demo:

    Users should NOT be able to move, resize, drag, connect, etc.

    However, when an item is selected, I would like to show the menu like in the "Editing" example - with buttons to edit the properties of the item, as well as delete the item.

    1. Is it possible to have the menu without setting up datasource configuration for connections?  (i.e. just specifying .Children("..."))

    2. Can you add custom actions (buttons) to that menu?  


  2. Stefan
    Stefan avatar
    1878 posts

    Posted 10 Jul 2017 Link to this post

    Hello Justin,

    Currently, the Diagram will not allow the user to move, resize etc only when the editable property is set to false.

    Regarding the questions:

    1) If there is not dataSource set for the connection all changes will not be reflected on the server.

    2) Custom buttons can be added to the editable menu:

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top