Module: features/grids/grid
Components
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
Name | Type |
---|---|
T | extends 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
Name | Type |
---|---|
T | extends GridOptions |
Parameters
Name | Type |
---|---|
optionsFunc | OptionsFunc <T , BaseGrid , GenericGrid > |
Returns
Grid
<T
>