RowFormApi
Functions for accessing Action Columns
TypeScript
export interfaceMethods
| Method | Description |
|---|---|
| displayCloneRowForm(primaryKey) | Open create dialog for cloning an existing row |
| displayCreateRowForm() | Open create dialog for a new row |
| displayDeleteRowForm(primaryKey) | Deletes row from grid (with event fired) - note: no visible Row Form is displayed |
| displayEditRowForm(primaryKey) | Open edit dialog for row with the given primary key value |
Method Details
displayCloneRowForm
Open create dialog for cloning an existing row
TypeScript
displayCloneRowForm(primaryKey?: any): Promise<void>;Parameters
| Parameter | Type | Description |
|---|---|---|
| primaryKey | any | Primary Key of the duplicated row |
Returns
Promise<void>
displayCreateRowForm
Open create dialog for a new row
TypeScript
displayCreateRowForm(): Promise<void>;Returns
Promise<void>
displayDeleteRowForm
Deletes row from grid (with event fired) - note: no visible Row Form is displayed
TypeScript
displayDeleteRowForm(primaryKey?: any): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| primaryKey | any | Primary Key of the deleted row |
Returns
void
displayEditRowForm
Open edit dialog for row with the given primary key value
TypeScript
displayEditRowForm(primaryKey: any): Promise<void>;Parameters
| Parameter | Type | Description |
|---|---|---|
| primaryKey | any | the primary key of the edited row |
Returns
Promise<void>