PCDataSourceEventNotify.onPagingParametersChanged Method [AX 2012]

Executes when the active record of the paging parameters changes in the attached data source.

protected void onPagingParametersChanged(
    FormObjectSet _sender, 
    boolean _pagingEnabled, 
    int _startRowIndex, 
    int _pageSize)

Run On

Client

Parameters

_sender
Type: FormObjectSet Class
The attached data source.
_pagingEnabled
Type: boolean
A Boolean value that indicates whether the paging is enabled for the data source.
_startRowIndex
Type: int
An integer value that indicates the position of the starting row of the cache.
_pageSize
Type: int
An integer value that indicates the size, in number of rows, of the cache.

To add a handler to this method, implement a method on the listener class by using the following declaration: public void onPagingParametersChanged(FormObjectSet _sender, boolean _pagingEnabled, int _startRowIndex, int _pageSize).

Community Additions

ADD
Show: