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

Add Checkbox to GridViewDataColumn header

1 Answer 234 Views
GridView
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 21 Feb 2017, 03:51 PM
I would like to add a checkbox to the headers of columns in a GridView. I tried to replace the textbox defined for the telerik:GridViewDataColumn.Header with a checkbox, but it doesn't respond to clicks. I would like to have text for the header, but also have it respond as a checkbox so that I can "highlight" the specific column for other calculations.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 24 Feb 2017, 09:58 AM
Hello William,

To achieve the desired behavior please take a look at our Column Selection article where you can find detailed information on the matter. Also, please review the Column selection demo in our SDK Samples Browser as it implements the same behavior as desired.

I hope that this helps.

Regards,
Martin Vatev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
William
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or