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

Use Treeview in Custom editor

1 Answer 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AmirHossein
Top achievements
Rank 1
AmirHossein asked on 01 Mar 2013, 09:49 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 05 Mar 2013, 02:42 PM
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!
Tags
Grid
Asked by
AmirHossein
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or