AccountManagerTable
Account Summary table meta-info
NOTE: make sure that you have a unique string id
field in each row to identify it.
Properties
changeDelegate
This delegate is used to watch the data changes and update the table.
Pass new account manager data row by row to the fire
method of the delegate.
Type
ISubscription<(data: {}) => void>
columns
Table columns
Type
flags
OptionalOption flags for the table.
Type
id
Unique identifier of a table.
Type
string
initialSorting
OptionalOptional sorting of the table. If set, then the table will be sorted by these parameters, if the user has not enabled sorting by a specific column.
Type
title
OptionalOptional title of a table.
Type
string
Methods
getData
This function is used to request table data. It should return Promise (or Deferred) and resolve it with an array of data rows.
Each row is an object. Keys of this object are column names with the corresponding values.
There is a predefined field isTotalRow
which can be used to mark a row that should be at the bottom of the table.
Signature
getData(paginationLastId?: string | number) => Promise<{}[]>
Parameters
Name | Type | Description |
---|---|---|
paginationLastId? | string | number | Last pagination id |
Returns
Promise<{}[]>