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

modifying IsFilterable programmatically

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
raj
Top achievements
Rank 1
raj asked on 09 Oct 2014, 04:00 AM
Hi There,

1. I dont have XAML for columns so that I want to set "IsFilterable" programatically, 

2. I have two checkbox columns when checking the check box of first checkbox column automatically the second checkbox column also checked 

can you please guide me how i can do this?


Thanks in advance,

Regards,
Raj. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 09 Oct 2014, 08:37 AM
Hi Raj,

As to your questions:
1. So, you have auto-generated columns based on the data you populate RadGridView with. In order to change the default settings for any of those columns, you can subscribe for the AutoGeneratingColumn event and work with e.Column.

2. You should bind both the GridViewCheckBoxColumns to the same or related property from your bound data object. Once the bound property raises a PropertyChanged notification the value in the CheckBox column will be updated.

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
raj
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or