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

Read-only Columns/Rows/Cells

1 Answer 154 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
fluffydice
Top achievements
Rank 1
fluffydice asked on 02 Jun 2016, 01:03 AM
Is there a way to make specific columns, rows or even certain cells read-only in the grid on the side of the gantt chart. For example, I don't want users to be able to edit the name or dates of a task directly in the grid. Instead I want the user to have to double click on a line in the grid to bring up a window where they can edit those details.

1 Answer, 1 is accepted

Sort by
1
Accepted
Dimitar
Telerik team
answered on 03 Jun 2016, 09:25 AM
Hello Vaughan,

Thank you for writing.

You can cancel the edit operation in the ItemEditing event handler:
radGanttView1.GanttViewElement.ItemEditing += GanttViewElement_ItemEditing;
 
private void GanttViewElement_ItemEditing(object sender, GanttViewItemEditingEventArgs e)
{
    e.Cancel = true;
}

Let me know if I can assist you further.

Regards,
Dimitar
Telerik
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
GanttView
Asked by
fluffydice
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or