Skip to main content

Turning off a cell editable property

Comments

1 comment

  • Dapfor Team

    Indeed, Cell.Editable does not have the setter because the grid does not store this information by cell - it takes a lot of memory. But there is an interface that allows you to define for each cell whether it is editable. Ex:


    grid.CellEditor += delegate(object sender, GridCellEditableEventArgs e)
    {
    if(e.Cell.Column != null && e.Cell.Column.Id == "your id")
    {
    Row row = e.Cell.Row;
    //Check by row...

    e.Editable = true;
    }
    };



    Best regards,

    0

Please sign in to leave a comment.

Powered by Zendesk