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

Make cells readonly

1 Answer 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Rick asked on 20 May 2014, 01:16 PM
Here is the scenario. I have a bound table (batch edit)with 1 dropdown control in the grid.
Depending on which item is selected in the dropdown grid, certain cells are to be either enabled or disabled.
How do I do that?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 23 May 2014, 07:06 AM
Hello Rick,

Generally, you can use the ReadOnly property of the column or access the controls on code-behind to disable or hide them:
http://www.telerik.com/help/aspnet-ajax/grid-batch-editing.html

In the described scenario you can use a javascript approach similar to the one demonstrated in the attached sample. Please run the web site and in case you have further difficulties we will modify the application to work with Batch editing mode and send it to you.

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
Grid
Asked by
Rick
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or