LazyLoadTotalCount
Table of Contents
Methods
- getId() : string
- Get grid id.
- getTotalRowsCountHtml() : string
- HTML for total rows widget.
- setRawRowsWithLazyLoadPagination() : void
- setTotalCountCalculator() : void
- Set Closure for count the total number of rows.
Methods
getId()
Get grid id.
public
abstract getId() : string
Return values
stringgetTotalRowsCountHtml()
HTML for total rows widget.
public
getTotalRowsCountHtml() : string
For correct work MUST BE loaded extension main.pagination.lazyloadtotalcount
in component's template or page.
Return values
stringsetRawRowsWithLazyLoadPagination()
public
setRawRowsWithLazyLoadPagination(Closure $getRawRowsCallback) : void
Parameters
- $getRawRowsCallback : Closure
setTotalCountCalculator()
Set Closure for count the total number of rows.
public
setTotalCountCalculator(Closure $value) : void
Use \Bitrix\Main\UI\CountlessPageNavigation for countless pagination.
Parameters
- $value : Closure