GridWorksheet.SetColumnReadonly

GridWorksheet.SetColumnReadonly method

Sets a column to readonly so user can’t delete it from client side. this is extended method of GridWeb specifically,it will not keep and take affect in actual excel file

public void SetColumnReadonly(int columnIndex, bool isReadonly)
ParameterTypeDescription
columnIndexInt32column index.
isReadonlyBooleantrue or false.

See Also