Read-only Columns/Rows/Cells

2 posts, 1 answers
  1. fluffydice
    fluffydice avatar
    1 posts
    Member since:
    May 2016

    Posted 01 Jun Link to this post

    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.
  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 03 Jun Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top