Home Reference Source
import EditGridComponent from 'formiojs/src/components/editgrid/EditGrid.js'
public class | source

EditGridComponent

Extends:

src/components/_classes/nestedarray/NestedArrayComponent.js~NestedArrayComponent → EditGridComponent

Static Member Summary

Static Public Members
public static get

builderInfo: {"title": string, "icon": string, "group": string, "documentation": string, "weight": number, "schema": *}

public static get
public static get

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public get
public

alert: *

public get
public get
public
public get

data: *

public set
public
public get
public get
public get
public

editRows: *[]

public get
public get

emptyValue: *[]

public get
public get
public get
public get
public get
public get
public get
public get
public
Private Members
private

_data: *

Method Summary

Public Methods
public

addRow(): *

public

addRowModal(rowIndex: *): *

public

attach(element: *): *

public

baseRemoveRow(rowIndex: *): *

public

beforeFocus(component: *)

public

cancelRow(rowIndex: *)

public

checkComponentValidity(data: *, dirty: *, row: *): boolean

public

checkValidity(data: *, dirty: *, row: *): *

public

clearErrors(rowIndex: *)

public

createRowComponents(row: *, rowIndex: *): *

public

destroyComponents(rowIndex: *): *

public

eachComponent(fn: *, rowIndex: *)

public

editRow(rowIndex: *): *

public

flattenComponents(rowIndex: *): *

public

flattenRowDataValue(dataValue: *): *

public

getComponents(rowIndex: *): *

public
public
public

init(): *

public

isOpen(editRow: *): *

public

loadRefs(element: *, refs: *)

public

removeRow(rowIndex: *)

public

render(children: *): *

public

renderRow(row: *, rowIndex: *): *

public
public

restoreRowContext(editRow: *, flags: {})

public

saveRow(rowIndex: *): boolean

public

setValue(value: *, flags: {}): *

public

showDialog(rowIndex: *): *

public

updateComponentsRowIndex(components: *, rowIndex: *)

public

updateRowsComponents(rowIndex: *)

public

validateRow(editRow: *, dirty: *): *

Static Public Members

public static get builderInfo: {"title": string, "icon": string, "group": string, "documentation": string, "weight": number, "schema": *} source

public static get defaultHeaderTemplate: string source

public static get defaultRowTemplate: string source

Static Public Methods

public static schema(extend: ...*): * source

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Constructors

public constructor() source

Public Members

public get addRowElements: * source

public get addRowRef: string source

public alert: * source

public get cancelRowElements: * source

public get cancelRowRef: string source

public components: * source

public get data: * source

public set data source

public dataValue: * source

public get defaultDialogTemplate: string source

public get defaultSchema: * source

public get defaultValue: * source

public editRows: *[] source

public get editgridKey: string source

public get emptyValue: *[] source

public get inlineEditMode: * source

public get iteratableRows: * source

public get minLength: * source

public get rowElements: * source

public get rowRef: string source

public get saveEditMode: * source

public get saveRowElements: * source

public get saveRowRef: string source

public type: string source

Private Members

private _data: * source

Public Methods

public addRow(): * source

Return:

*

public addRowModal(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public baseRemoveRow(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public beforeFocus(component: *) source

Params:

NameTypeAttributeDescription
component *

public cancelRow(rowIndex: *) source

Params:

NameTypeAttributeDescription
rowIndex *

public checkComponentValidity(data: *, dirty: *, row: *): boolean source

Params:

NameTypeAttributeDescription
data *
dirty *
row *

Return:

boolean

public checkValidity(data: *, dirty: *, row: *): * source

Params:

NameTypeAttributeDescription
data *
dirty *
row *

Return:

*

public clearErrors(rowIndex: *) source

Params:

NameTypeAttributeDescription
rowIndex *

public createRowComponents(row: *, rowIndex: *): * source

Params:

NameTypeAttributeDescription
row *
rowIndex *

Return:

*

public destroyComponents(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public eachComponent(fn: *, rowIndex: *) source

Params:

NameTypeAttributeDescription
fn *
rowIndex *

public editRow(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public flattenComponents(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public flattenRowDataValue(dataValue: *): * source

Params:

NameTypeAttributeDescription
dataValue *

Return:

*

public getComponents(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public hasOpenRows(): * source

Return:

*

public hasRemoveButtons(): * source

Return:

*

public init(): * source

Return:

*

public isOpen(editRow: *): * source

Params:

NameTypeAttributeDescription
editRow *

Return:

*

public loadRefs(element: *, refs: *) source

Params:

NameTypeAttributeDescription
element *
refs *

public removeRow(rowIndex: *) source

Params:

NameTypeAttributeDescription
rowIndex *

public render(children: *): * source

Params:

NameTypeAttributeDescription
children *

Return:

*

public renderRow(row: *, rowIndex: *): * source

Params:

NameTypeAttributeDescription
row *
rowIndex *

Return:

*

public restoreComponentsContext() source

public restoreRowContext(editRow: *, flags: {}) source

Params:

NameTypeAttributeDescription
editRow *
flags {}
  • optional
  • default: {}

public saveRow(rowIndex: *): boolean source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

boolean

public setValue(value: *, flags: {}): * source

Params:

NameTypeAttributeDescription
value *
flags {}
  • optional
  • default: {}

Return:

*

public showDialog(rowIndex: *): * source

Params:

NameTypeAttributeDescription
rowIndex *

Return:

*

public updateComponentsRowIndex(components: *, rowIndex: *) source

Params:

NameTypeAttributeDescription
components *
rowIndex *

public updateRowsComponents(rowIndex: *) source

Params:

NameTypeAttributeDescription
rowIndex *

public validateRow(editRow: *, dirty: *): * source

Params:

NameTypeAttributeDescription
editRow *
dirty *

Return:

*