How to not display header checkbox in grid Selectionion

1 Answer 185 Views
General Discussions Grid
Darshan
Top achievements
Rank 1
Iron
Iron
Darshan asked on 04 Jul 2023, 04:49 AM

i need to display checkbox for each row. But only restrict to 1 selection at a time which is achieved through selection mode - single.

 

However there is checkbox displayed at header level as well which i dont want to display to user..how to achieve this ?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 04 Jul 2023, 08:35 AM | edited on 04 Jul 2023, 09:04 AM

Hi Darshan,

For removing the checkbox in the header of the select column you can define custom "headerCell" that will return an empty TH element. Following is an example demonstrating this approach:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Darshan
Top achievements
Rank 1
Iron
Iron
commented on 04 Jul 2023, 02:03 PM

this works...thank you
Tags
General Discussions Grid
Asked by
Darshan
Top achievements
Rank 1
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or