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

Readonly Rows

3 Answers 204 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kiran
Top achievements
Rank 1
Kiran asked on 23 Jan 2015, 11:42 PM
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

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Jan 2015, 09:26 AM
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.

 
0
John
Top achievements
Rank 2
answered on 16 Mar 2018, 01:08 PM
I'd like to make only selected rows read only based on a property in each item. Is this possible?
0
Stefan
Telerik team
answered on 21 Mar 2018, 09:45 AM
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.
Tags
GridView
Asked by
Kiran
Top achievements
Rank 1
Answers by
Stefan
Telerik team
John
Top achievements
Rank 2
Share this question
or