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

How to add a checkbox in the header cell

5 Answers 120 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chen
Top achievements
Rank 1
Chen asked on 12 Apr 2012, 06:56 PM
Is it possible to add a checkbox in the "Checkbox" column header and check all the checkboxes in this column when the checkbox in the header is checked?

Thanks.

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Apr 2012, 07:02 AM
Hello,

 If you want to check the CheckBoxes to select a column please check this help article. If not, do you have a property of the Data Item bound to the CheckBoxes?

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Chen
Top achievements
Rank 1
answered on 13 Apr 2012, 02:54 PM
Hi Didie,

Yes, this is what I want.

thanks a lot for the quick response!

By the way, it would be much more helpful if I can insert a image in the post.
0
Pavel Pavlov
Telerik team
answered on 13 Apr 2012, 04:47 PM
Hi Chen ,

In order to be able to attach files (including images) , you may  open a support ticket rather than a forum thread.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Chen
Top achievements
Rank 1
answered on 13 Apr 2012, 06:46 PM
Hi Pavel,

I took a look at the sample that Didie provided in his reply, our satuation is different.

Just like this example, we'd like to have a checkbox in the header cell of the "IsShipped" column, and all the checkboxes in this column will be checked if we check that one in the header cell.

Is it possible or do you have any samples for me?

Thanks!
Chen
0
Maya
Telerik team
answered on 16 Apr 2012, 08:47 AM
Hello Chen,

Please take a look at this forum thread for a reference. Is that the behavior you are looking for ?  

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Chen
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Chen
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Maya
Telerik team
Share this question
or