Use Treeview in Custom editor

2 posts, 0 answers
  1. AmirHossein
    AmirHossein avatar
    1 posts
    Member since:
    Aug 2010

    Posted 01 Mar 2013 Link to this post

    Hi
    I see this your example for custom editing, now, I want to use this feature  with Treeview.
    I means that when a cell is in editing mode, show Treeview instead dropdown, and when user click on one of item, see this on that cell.
    Is there possible? 
    can I see a example ?

    Thanks for replay.
  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 05 Mar 2013 Link to this post

    Hello AmirHossein,

    Yes this should be possible, however we do not have demo which demonstrates it. Basically once you put the TreeView inside of the editor template you should use the API methods and events of the TreeView to updated the model of the Grid and vice-versa. To retrieve the model which is currently being edited you will need to use the dataItem method of the grid (pass the row with class k-grid-edit-row).


    Kind Regards,
    Petur Subev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top