DataMapComponent
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"title": string, "icon": string, "group": string, "documentation": string, "weight": number, "schema": *} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
schema(extend: ...*): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public get |
|
|
| public |
components: *[] |
|
| public get |
dataValue: * |
|
| public set |
|
|
| public get |
|
|
| public get |
defaultValue: * |
|
| public get |
emptyValue: {} |
|
| public get |
|
|
| public get |
keySchema: {"type": string, "input": boolean, "hideLabel": boolean, "label": *, "key": string, "disableBuilderActions": boolean} |
|
| public |
rows: *[] |
|
| public get |
schema: * |
|
| public |
|
|
| public get |
valueKey: * |
|
| public |
visibleColumns: {"key": boolean, "undefined": boolean} |
|
Method Summary
| Public Methods | ||
| public |
addChildComponent(component: *) |
|
| public |
addRow() |
|
| public |
checkColumns(): {"rebuild": *, "show": boolean} |
|
| public |
componentContext(component: *): * |
|
| public |
createRowComponents(row: *, rowIndex: *): * |
|
| public |
getColumns(): * |
|
| public |
getRowKey(rowIndex: *): * |
|
| public |
getRowValues(): * |
|
| public |
|
|
| public |
hasRemoveButtons(): * |
|
| public |
init() |
|
| public |
|
|
| public |
removeRow(index: *) |
|
| public |
saveChildComponent(component: *) |
|
| public |
setRowComponentsData(rowIndex: *, rowData: *) |
|
| public |
setValue(value: *, flags: {}): * |
|
Inherited Summary
| From class DataGridComponent | ||
| public static get |
builderInfo: {"title": string, "icon": string, "group": string, "documentation": string, "weight": number, "schema": *} |
|
| public static |
schema(extend: ...*): * |
|
| public get |
|
|
| public get |
allowReorder: * |
|
| public get |
canAddColumn: * |
|
| public get |
dataValue: * |
|
| public set |
|
|
| public get |
|
|
| public get |
|
|
| public get |
defaultValue: * |
|
| public get |
disabled: * |
|
| public set |
|
|
| public get |
emptyValue: * |
|
| public get |
initEmpty: * |
|
| public get |
initRows: * |
|
| public get |
|
|
| public get |
minLength: * |
|
| public |
components: * |
|
| public |
dragula: * |
|
| public |
rows: *[] |
|
| public |
|
|
| public |
visibleColumns: {} |
|
| public |
addRow() |
|
| public |
attach(element: *): * |
|
| public |
checkColumns(data: *, flags: {}): {"rebuild": *, "show": *} |
|
| public |
checkComponentConditions(data: *, flags: *, row: *): * |
|
| public |
checkValidity(data: *, dirty: *): * Checks the validity of this datagrid. |
|
| public |
createRowComponents(row: *, rowIndex: *): * |
|
| public |
createRows(init: *): * |
|
| public |
getColumns(): * |
|
| public |
getComponent(path: *, fn: *): * |
|
| public |
getGroupSizes(): Number[] Retrun group sizes. |
|
| public |
Create groups object. |
|
| public |
getRowChunks(groups: Number[], rows: Array<T>): Array<T[]> Split rows into chunks. |
|
| public |
getRowValues(): * |
|
| public |
getRows(): * |
|
| public |
hasBottomSubmit(): * |
|
| public |
hasExtraColumn(): * |
|
| public |
hasHeader(): * |
|
| public |
hasRemoveButtons(): * |
|
| public |
hasRowGroups(): * |
|
| public |
hasTopSubmit(): * |
|
| public |
init() |
|
| public |
onReorder(element: *, _target: *, _source: *, sibling: *) |
|
| public |
removeRow(index: *) |
|
| public |
removeRowComponents(row: *) |
|
| public |
render(): * |
|
| public |
|
|
| public |
setRowComponentsData(rowIndex: *, rowData: *) |
|
| public |
setStaticValue(n: *) |
|
| public |
setValue(value: *, flags: {}): * |
|
| public |
toggleGroup(element: *, index: *) |
|
| public |
totalRowsNumber(groups: *): * |
|
Static Public Members
Static Public Methods
public static schema(extend: ...*): * source
Override:
DataGridComponent#schemaParams:
| Name | Type | Attribute | Description |
| extend | ...* |
Return:
| * |
Public Constructors
Public Members
public get keySchema: {"type": string, "input": boolean, "hideLabel": boolean, "label": *, "key": string, "disableBuilderActions": boolean} source
public get valueKey: * source
public visibleColumns: {"key": boolean, "undefined": boolean} source
Override:
DataGridComponent#visibleColumnsPublic Methods
public addChildComponent(component: *) source
Params:
| Name | Type | Attribute | Description |
| component | * |
public checkColumns(): {"rebuild": *, "show": boolean} source
Override:
DataGridComponent#checkColumnspublic componentContext(component: *): * source
Params:
| Name | Type | Attribute | Description |
| component | * |
Return:
| * |
public createRowComponents(row: *, rowIndex: *): * source
Params:
| Name | Type | Attribute | Description |
| row | * | ||
| rowIndex | * |
Return:
| * |
public removeChildComponent() source
public removeRow(index: *) source
Override:
DataGridComponent#removeRowParams:
| Name | Type | Attribute | Description |
| index | * |
public saveChildComponent(component: *) source
Params:
| Name | Type | Attribute | Description |
| component | * |
public setRowComponentsData(rowIndex: *, rowData: *) source
Params:
| Name | Type | Attribute | Description |
| rowIndex | * | ||
| rowData | * |
public setValue(value: *, flags: {}): * source
Override:
DataGridComponent#setValueParams:
| Name | Type | Attribute | Description |
| value | * | ||
| flags | {} |
|
Return:
| * |
