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

Gantt, How can modify the Allow edit for a column in code behind?

1 Answer 87 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Serge Aranda
Top achievements
Rank 1
Serge Aranda asked on 06 Jun 2017, 02:40 PM

Hi,

    I need to disable edit mode for a specific column in a gantt control regarding to some criteria. Could you help me? 

regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter Milchev
Telerik team
answered on 09 Jun 2017, 07:45 AM
Hello Serge,

Setting the AllowEdit property of the column to false should fit your case. 

The Gantt - Defining Columns demo, the ConfigureColumn method demonstrates how to achieve it.

var column = RadGantt1.Columns[index];
column.AllowEdit = false;

Regards,
Peter Milchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Gantt
Asked by
Serge Aranda
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or