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

[Solved] Hide the detail template chevron column

1 Answer 356 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 20 Oct 2014, 05:30 PM
Is there an easy way to hide the entire detail template expansion chevron and associated column? We'd like to control the expansion through other means.

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 22 Oct 2014, 08:08 AM
Hello Chris,

There isn't built-in way of doing this. You can however remove hierarchical col elements and hide hierarchical cells inside dataBound event:
dataBound: function() {
 this.wrapper.find(".k-hierarchy-col").remove();//remove col elements for hierarchy column
 this.wrapper.find(".k-hierarchy-cell").hide();//remove cell elements for hierarchy column                         
},

Here is an example for this: http://dojo.telerik.com/@rusev/AsEVO.

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or