Module: features/grids/grid

Interfaces

Type aliases

CellComputable

Ƭ CellComputable<T>: Computable<T> | (id: string | number, state: State) => T

Type parameters

Name
T

Defined in

profectus/src/features/grids/grid.ts:20


GenericGrid

Ƭ GenericGrid: Replace<Grid<GridOptions>, { getCanClick: ProcessedComputable<boolean> ; getVisibility: ProcessedComputable<Visibility> ; visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/grids/grid.ts:229


Grid

Ƭ Grid<T>: Replace<T & BaseGrid, { cols: GetComputableType<T["cols"]> ; getCanClick: GetComputableTypeWithDefault<T["getCanClick"], true> ; getClasses: GetComputableType<T["getClasses"]> ; getDisplay: GetComputableType<T["getDisplay"]> ; getStartState: GetComputableType<T["getStartState"]> ; getStyle: GetComputableType<T["getStyle"]> ; getTitle: GetComputableType<T["getTitle"]> ; getVisibility: GetComputableTypeWithDefault<T["getVisibility"], Visible> ; rows: GetComputableType<T["rows"]> ; visibility: GetComputableTypeWithDefault<T["visibility"], Visible> }>

Type parameters

NameType
Textends GridOptions

Defined in

profectus/src/features/grids/grid.ts:213

Variables

GridType

Const GridType: typeof GridType

Defined in

profectus/src/features/grids/grid.ts:18

Functions

createGrid

createGrid<T>(optionsFunc): Grid<T>

Type parameters

NameType
Textends GridOptions

Parameters

NameType
optionsFuncOptionsFunc<T, BaseGrid, GenericGrid>

Returns

Grid<T>

Defined in

profectus/src/features/grids/grid.ts:238