GridCheckboxColumn does not have HeaderTemplate / Template

1 Answer 141 Views
Grid
Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
Claudio asked on 30 Sep 2021, 08:52 AM

I can't find a way to customize the GridCheckboxColumn element.

GridColumn have a Template element but seem not applicable to GridCheckboxColumn.

My goal is to add a clickable icon next to selection check in the header.

How to solve?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 30 Sep 2021, 05:33 PM

Hello Claudio,

You can Follow the implementation of a header template for the selection column here: https://feedback.telerik.com/blazor/1497026-add-headertemplate-for-the-gridcheckboxcolumn.

In the meantime you could implement this through a "regular" grid column where you will have a header template, and for the selection checkbox you can use the approach of custom selection checkbox youcan find in this thread (you don't need the row template): https://feedback.telerik.com/blazor/1463819-grid-row-template-with-selection-unsure-how-to-bind-to-selected-item

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Claudio
Top achievements
Rank 2
Bronze
Bronze
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or