Bitrix API

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

getTotalRowsCountHtml()

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
string

setRawRowsWithLazyLoadPagination()

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

        
On this page

Search results