RetrieveDataFunction
Generic types: | T |
Function to retrieve data based on pagination, sorting, filtering and grouping setting. It is used for server side pagination, filtering, sorting and grouping. In this scenario, it replace
.
startIndex
: zero-based row index to retrive.
maxRows
: Maximum rows to fetch per page. To avoid user entering very big number that can bring server or the browser down, override
.
groupController
: if true, then the request is triggered from a row group expansion
Presentation
type RetrieveDataFunction = (
startIndex: number,
maxRows: number,
tableQuery: TableQuery ,
groupController?: boolean,
) => Observable<TableData <T>>;