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

Set Grid cell editability

3 Answers 80 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manohar
Top achievements
Rank 1
Manohar asked on 03 Apr 2011, 10:58 PM
Hi,
I understand (from the documentation) that IsReadOnly property or IsReadOnlyBinding can be used at the grid view level or at the column level to set Read Only Rows or Read Only cells respectively.

Could you please suggest how I can use IsReadOnly property or binding to make certain intersections (of row and column) editable and lock rest-of-the-grid? For example, I have 3 rows and 5 columns. Column 1 and Column 2 contain locked cells for all the 3 rows, but Column 3, 4, 5  have cells that intersect with row 2 & 3 are editable and all the cells in row 1 are locked.

Thanks.
B.Manohar

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 04 Apr 2011, 08:24 AM
Hi Manohar,

The IsReadOnly property may be set for either a column or for the whole grid. If you want to make only some of the cells read-only, you may use the IsReadOnlyBinding  for a column and bind it to a particular property of your business object for example. Thus, depending on the value of this property, the cell will be editable or not.
 

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Karan
Top achievements
Rank 1
answered on 17 May 2011, 06:37 PM
Hello Maya,
Do you have a sample to show that.I also want an intersection kind of locking in the telerik grid and lock out certain cells and columns.Thanks a lot in advance
0
Maya
Telerik team
answered on 18 May 2011, 07:54 AM
Hi Manohar,

Please take a look at this forum thread for a reference and a sample project as well.
 

Best wishes,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Manohar
Top achievements
Rank 1
Answers by
Maya
Telerik team
Karan
Top achievements
Rank 1
Share this question
or