Readonly Rows

4 posts, 0 answers
  1. Kiran
    Kiran avatar
    17 posts
    Member since:
    Aug 2012

    Posted 23 Jan 2015 Link to this post

    Hello, 

    Is there a way to make a row readonly? just like making a cell readonly? I dont want to disable the row, but make it readonly.

    Thanks
    Kiran
  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 24 Jan 2015 Link to this post

    Hello Kiran,

    In order to make a row or cell readonly you should use the IsReadOnlyBinding property of the RadGridView. Please refer to the Read Only Rows and Cells documentation article.

    I hope that this will help.

    Kind Regards,
    Stefan
    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.

     
  3. John
    John avatar
    6 posts
    Member since:
    Mar 2015

    Posted 16 Mar 2018 Link to this post

    I'd like to make only selected rows read only based on a property in each item. Is this possible?
  4. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 21 Mar 2018 Link to this post

    Hi John,

    You should be able to achieve this by binding the SelectedItem of RadGridView to a property in the view model. When an item is selected you can update the item's property which is bound to the IsReadOnlyBinding property.

    Can you please give it a try?

    Regards,
    Stefan
    Progress Telerik
    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 allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top