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

Removing additional check box column in KendoGrid

1 Answer 195 Views
Grid
This is a migrated thread and some comments may be shown as answers.
developer
Top achievements
Rank 1
developer asked on 20 Jan 2016, 06:32 AM

I'm constructing kendo grid using angular js but by default an additional column keeps appearing each time which is having the class ".k-hierarchy-cell".

I don't have CheckAll select box option in any of the table.Hence I want to remove this autogenerated "<td class="k-hierarchy-cell"><a class="k-icon k-plus" href="#" tabindex="-1"></a></td>" that appears automatically

 

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 21 Jan 2016, 04:23 PM

Hello,

 

This table cell is designed to contain the expand/collapse icon and it is shown only when:  

 

   - A detail template is defined for the Kendo UI Grid - refer to the Grid / Detail template demo.

   - or user is subscribed for the detailInit event - refer to the Grid / Hierarchy demo. 

 

An element with "<td class="k-hierarchy-cell"><a class="k-icon k-plus" href="#" tabindex="-1"></a></td>" is not part of the header (as noted in the screenshot), but it should be part of the master row. 

 

In other words the expand/collapse icon shows/hides the detail template. If you use detail template and want not to show it to the user you can hide it using CSS. 

 

 

 

Regards,
Boyan Dimitrov
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
developer
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or