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

How to make RadgGrid Read Only

1 Answer 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Venkatesh
Top achievements
Rank 1
Venkatesh asked on 22 Aug 2014, 10:18 AM
Hi,

How to make same telerik radgrid readonly and editable(Batch Edit mode with edit type as cell) in based on condition.

Regards,
Venkatesh.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 27 Aug 2014, 07:43 AM
Hi Venkatesh,

To toggle the edit mode according to a condition, you can use:
RadGrid1.MasterTableView.EditMode = condition ? GridEditMode.Batch : GridEditMode.InPlace;

Hope this helps.

As for individual cells, I believe the reply you got in the following thread would be helpful:
http://www.telerik.com/forums/making-rad-grid-inidividual-cell-read-only-based-ona-condition

Regards,
Eyup
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
General Discussions
Asked by
Venkatesh
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or