RevoGrid Documentation v4.21.7 / ReadOnlyFormat
Type Alias: ReadOnlyFormat<TModel, TColumn>
ts
type ReadOnlyFormat<TModel, TColumn>: boolean | (params: ColumnDataSchemaModel<TModel, TColumn>) => boolean;The ReadOnlyFormat type is a boolean value or a function that takes ColumnDataSchemaModel as a parameter and returns a boolean value.
If it is a boolean value, it represents whether the cell in question is read-only. If it is a function, it returns whether the cell in question is read-only based on the provided ColumnDataSchemaModel.
Type Parameters
| Type Parameter | Default type |
|---|---|
TModel extends DataType | DataType |
TColumn extends ColumnRegular | ColumnRegular |