EditTableComponent
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"title": string, "icon": string, "group": 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 |
dataValue: * |
|
| public get |
emptyColumn: {"label": *, "key": *} |
|
| public get |
groupsMode: * |
|
| public get |
tableClass: * |
|
Method Summary
| Public Methods | ||
| public |
addEmptyRows(n: *) |
|
| public |
build(state: {}) |
|
| public |
buildGroup(objectPattern: {"label": *}): * |
|
| public |
|
|
| public |
buildRow(row: *, index: *, state: {}): * |
|
| public |
|
|
| public |
builderView(): * |
|
| public |
componentSchema(extend: ...*): * |
|
| public |
getColumns(): Array Returns all non-empty columns. |
|
| public |
getGroups(): * |
|
| public |
getMeta(): * |
|
| public |
getRowChunks(groups: Numbers[], coll: Array<T>): Array<T[]> |
|
| public |
hasAddButton(): * |
|
| public |
Checks whether columns are available |
|
| public |
|
|
| public |
removeButton(index: *): * override * |
|
| public |
setMeta() |
|
| public |
totalRowsNumber(groups: *): * |
|
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 componentComponents: * source
public get emptyColumn: {"label": *, "key": *} source
public get groupsMode: * source
public get tableClass: * source
Public Methods
public addEmptyRows(n: *) source
Params:
| Name | Type | Attribute | Description |
| n | * |
public build(state: {}) source
Params:
| Name | Type | Attribute | Description |
| state | {} |
|
public buildGroup(objectPattern: {"label": *}): * source
Params:
| Name | Type | Attribute | Description |
| objectPattern | {"label": *} |
|
Return:
| * |
public buildGroups() source
public buildRow(row: *, index: *, state: {}): * source
Params:
| Name | Type | Attribute | Description |
| row | * | ||
| index | * | ||
| state | {} |
|
Return:
| * |
public buildRows() source
public componentSchema(extend: ...*): * source
Params:
| Name | Type | Attribute | Description |
| extend | ...* |
Return:
| * |
public getColumns(): Array source
Returns all non-empty columns.
Override:
DataGridComponent#getColumnspublic getGroups(): * source
Create groups object. Each key in object represents index of first row in group.
Override:
DataGridComponent#getGroupsReturn:
| * |
public getRowChunks(groups: Numbers[], coll: Array<T>): Array<T[]> source
Split rows into chunks.
Override:
DataGridComponent#getRowChunksParams:
| Name | Type | Attribute | Description |
| groups | Numbers[] | ||
| coll | Array<T> | collection |
public removeButton(index: *): * source
override *
Params:
| Name | Type | Attribute | Description |
| index | * |
Return:
| * |
public setMeta() source
public totalRowsNumber(groups: *): * source
Override:
DataGridComponent#totalRowsNumberParams:
| Name | Type | Attribute | Description |
| groups | * |
Return:
| * |
