UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

25 lines (24 loc) 781 B
/** * Functions for accessing Action Columns */ export interface RowFormApi { /** * Open edit dialog for row with the given primary key value * @param primaryKey - the primary key of the edited row */ displayEditRowForm(primaryKey: any): Promise<void>; /** * Open create dialog for a new row */ displayCreateRowForm(): Promise<void>; /** * Open create dialog for cloning an existing row * @param primaryKey - Primary Key of the duplicated row */ displayCloneRowForm(primaryKey?: any): Promise<void>; /** * Deletes row from grid (with event fired) - note: no visible Row Form is displayed * @param primaryKey - Primary Key of the deleted row */ displayDeleteRowForm(primaryKey?: any): void; }