Interface: DataService
Description
Interface to implement to define a data service to retrieve grid data.
Properties
Property | Type | Description |
---|---|---|
getPageAsync | (pageNum : number , pageSize : number , sort : Sort [], filter : undefined | Filter ) => Promise <PageData > | Called to get data for the currently rendered page. Param The page number for the page to load starting with 1 for the first page.If the data grid is not set configured to be pageable with the DataGridVueGrid.paged prop then this will always be -1 .Param The maximum number of data items to display on each page. If the data grid is not set configured to be pageable with the DataGridVueGrid.paged prop then this will always be -1 .Param The current column sort definitions in the order in which they should be applied. Param The current filter definition or undefined if no filter is set. |