Hide& Show child shapes in Diagram

2 posts, 0 answers
  1. Alen
    Alen avatar
    1 posts
    Member since:
    May 2016

    Posted 11 May Link to this post

    Is it possible to hide & show child shapes in diagram, upon click event on parent element.

    Thanks,

    Alen

     

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    349 posts

    Posted 13 May Link to this post

    Hello Alen,

    The Kendo UI Diagram does not provide such functionality out of the box. It can possibly be achieved via complicated custom logic and implementation. Here are some events, fields, and methods, exposed by the API that might prove helpful:

    Events:

    Click: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#events-click
    Change: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#events-change
    Edit: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#events-edit

    Fields:

    Connections: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#fields-connections
    Shapes: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#fields-shapes

    Methods:


    Connected: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#methods-connected
    Edit: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram#methods-edit

    You can find the whole API here:
    http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top