How to persist shape rotation?

2 posts, 0 answers
  1. Elijah
    Elijah avatar
    3 posts
    Member since:
    Aug 2012

    Posted 04 Dec 2015 Link to this post

    I'm trying to persist shape rotation. I've followed the demo at http://demos.telerik.com/kendo-ui/diagram/editing and can persist width, height, etc.

    However even the demo at http://demos.telerik.com/kendo-ui/diagram/editing is not generating a server AJAX call to persist the rotation.

    Even if the diagram was sending up the new rotation setting to the server, I'm unsure how to map the rotation data as the example at http://docs.telerik.com/kendo-ui/dataviz/diagram/editing#shape-model-fileds doesn't show how to map to rotation. Rotation is a complex type which has angle, x, and y.

    Is persisting shape rotation and using the Shape Model Fields to retrieve it from the server-side data supported? If so, is there any chance you could show me a working example? The documentation seems to be lacking in this area.

    Thank you very much!

    - Elijah

  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 09 Dec 2015 Link to this post

    Hello Elijah,

    Binding the rotation is not currently supported. It is possible to implement it by using the change and itemRotate events - example.

    Regards,
    Daniel
    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