modifying IsFilterable programmatically

2 posts, 1 answers
  1. raj
    raj avatar
    31 posts
    Member since:
    Jul 2011

    Posted 08 Oct 2014 Link to this post

    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. 
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Oct 2014 Link to this post

    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.

     
Back to Top