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

How to put a checkbox in the header of a column?

5 Answers 63 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Xiver
Top achievements
Rank 1
Xiver asked on 22 Feb 2012, 10:41 AM
Hi:

The picture is a wireframe of my current project. The checkbox on the header is for Select All / Deselect All. I have no idea how to put a checkbox in the header. Would you give me an example on that?

Best Regards

Xiver

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Feb 2012, 10:43 AM
Hello,

 You can use GridViewSelectColumn to achieve your goal (the treelist inherits from RadGridView). I strongly suggest you to check our demos for more info!

Kind regards,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Xiver
Top achievements
Rank 1
answered on 22 Feb 2012, 10:44 AM
Thanks, I've tried that. It created a column with checkboxs but not on the Header.
0
Vlad
Telerik team
answered on 22 Feb 2012, 10:48 AM
Hi,

 If you enable Multiple or Extended SelectionMode you will get CheckBox in the header as well. 

Regards,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Xiver
Top achievements
Rank 1
answered on 22 Feb 2012, 10:48 AM
Here is what it looks like now.
I'm asked to add a Checkbox right next to the word "In Scope"
0
Xiver
Top achievements
Rank 1
answered on 22 Feb 2012, 10:49 AM
Oh really? I'll check that out...Thanks
Tags
TreeListView
Asked by
Xiver
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Xiver
Top achievements
Rank 1
Share this question
or