Skip to content

Class: DataTableProxy

DataTableProxy is mainly for DataTable operations.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new DataTableProxy(context: IContext): DataTableProxy

Overrides BindableSectionProxy.constructor

Parameters:

Name Type
context IContext

Returns: DataTableProxy

Methods

getCell

getCell(rowIndex: number, columnIndex: number): IDataTableCellProxy

Get the cell

Implementation of IDataTableProxy.getCell

Parameters:

Name Type
rowIndex number
columnIndex number

Returns: IDataTableCellProxy

returns the DataTableCellProxy


getChanges

getChanges(): IChangedObject[]

Get the data changes. This will only retrieve changes for values where a single dynamic value is binded to a valid Property name.

Implementation of IDataTableProxy.getChanges

Returns: IChangedObject[]

list of row changes


getEditMode

getEditMode(): string

Get edit mode. The return value is None or Inline

Implementation of IDataTableProxy.getEditMode

Returns: string


reset

reset(): void

Reset the data changes

Implementation of IDataTableProxy.reset

Returns: void


setEditMode

setEditMode(editMode: string): void

Set the edit mode. The data changes are reset when set to none.

Implementation of IDataTableProxy.setEditMode

Parameters:

Name Type Description
editMode string None or Inline

Returns: void