Skip to content

@revolist/revogrid / ColumnDataSchemaModel

Type Alias: ColumnDataSchemaModel

ts
type ColumnDataSchemaModel: {
  colIndex: number;
  colType: DimensionCols;
  column: ColumnRegular;
  data: DataType[];
  model: DataType;
  prop: ColumnProp;
  rowIndex: number;
  type: DimensionRows;
  value: any;
};

Advanced column data schema model. Used for transpassing data to cell renderer and editor.

Type declaration

NameTypeDescriptionDefined in
colIndexnumberIndex of the column in the viewportsrc/types/interfaces.ts:49
colTypeDimensionColsColumn type based on viewportsrc/types/interfaces.ts:53
columnColumnRegularColumn data objectsrc/types/interfaces.ts:41
dataDataType[]Row models based on viewportsrc/types/interfaces.ts:61
modelDataTypeRow data objectsrc/types/interfaces.ts:37
propColumnPropColumn prop used for mapping value to cell from data source model/rowsrc/types/interfaces.ts:33
rowIndexnumberIndex of the row in the viewportsrc/types/interfaces.ts:45
typeDimensionRowsRow type based on viewportsrc/types/interfaces.ts:57
valueanyCurrent cell data value Mapped from model through column property like model['prop']src/types/interfaces.ts:66

Defined in

src/types/interfaces.ts:29

Revogrid is a MIT-licensed open source library made by Revolist OU.