RowFormApi

View as Markdown

Row Forms. Opens the form used to create, clone or edit a row, and deletes a row by primary key. Deleting does not open a form.

TypeScript
export interface

Methods

MethodReturnsDescription
displayCloneRowForm(primaryKey)Promise<void>Opens the Row Form to create a row, prefilled from an existing row.
displayCreateRowForm()Promise<void>Open create dialog for a new row
displayDeleteRowForm(primaryKey)voidDeletes a row and fires the Row Form submitted event. No form is shown.
displayEditRowForm(primaryKey)Promise<void>Opens the Row Form to edit the row with this primary key.

Method Details

displayCloneRowForm

Opens the Row Form to create a row, prefilled from an existing row.

TypeScript
displayCloneRowForm(primaryKey?: any): Promise<void>;
Parameters
ParameterTypeDescription
primaryKeyanyPrimary key of the row to clone. Omit it to open an empty clone form
Returns

Promise<void>

displayCreateRowForm

Open create dialog for a new row

TypeScript
displayCreateRowForm(): Promise<void>;
Returns

Promise<void>

displayDeleteRowForm

Deletes a row and fires the Row Form submitted event. No form is shown.

TypeScript
displayDeleteRowForm(primaryKey?: any): void;
Parameters
ParameterTypeDescription
primaryKeyanyPrimary key of the row to delete
Returns

void

displayEditRowForm

Opens the Row Form to edit the row with this primary key.

TypeScript
displayEditRowForm(primaryKey: any): Promise<void>;
Parameters
ParameterTypeDescription
primaryKeyanyPrimary key of the row to edit
Returns

Promise<void>