@serenity-is/corelib / PagingInfo
Interface: PagingInfo
Defined in: src/slick/iremoteview.ts:314
Properties
actualRowsPerPage
actualRowsPerPage:
number
Defined in: src/slick/iremoteview.ts:327
Number of rows actually used by the server for the current page. May differ from rowsPerPage when the server applies a maximum or default page size.
dataView
dataView:
IRemoteView<any>
Defined in: src/slick/iremoteview.ts:316
Reference to the RemoteView instance
error
error:
string
Defined in: src/slick/iremoteview.ts:318
Current error message, if any
hasMore?
optionalhasMore:boolean
Defined in: src/slick/iremoteview.ts:336
Whether there are more rows after the current page, for a view that is indeterminate.
indeterminate?
optionalindeterminate:boolean
Defined in: src/slick/iremoteview.ts:334
Whether the view pages without knowing the total number of the rows, so only whether there are more after the page.
loading
loading:
boolean
Defined in: src/slick/iremoteview.ts:320
Whether data is currently being loaded
page
page:
number
Defined in: src/slick/iremoteview.ts:322
Current page number (1-based)
pagingMode?
optionalpagingMode:"rows"|"pages"
Defined in: src/slick/iremoteview.ts:343
Whether the view shows a page of the rows, or a range of them, e.g. the rows it has loaded, or the
ones in the viewport of the grid. A range view has no pages, so a pager shows no page navigation
for it. It is set even before there are any rows, so that a pager knows its layout from the start.
Default is "pages".
rowRange?
optionalrowRange:PagingRowRange
Defined in: src/slick/iremoteview.ts:347
The rows a pager tells of when pagingMode is "rows". It is not set when there are none yet.
rowsPerPage
rowsPerPage:
number
Defined in: src/slick/iremoteview.ts:324
Number of rows requested per page
totalCount
totalCount:
number
Defined in: src/slick/iremoteview.ts:332
Total number of items available, or the number of the rows known so far when the view is indeterminate, which is more than the rows up to the current page only when there are more.