Version

Paging Events

Please note that this control has been retired and is now obsolete to the XamDataGrid control, and as such, we recommend migrating to that control. It will not be receiving any new features, bug fixes, or support going forward. For help or questions on migrating your codebase to the XamDataGrid, please contact support.

There are two events associated with paging in xamGrid™. These events have the suffix “ing” or “ed” appended to them, reflecting the order in which they occur. The paging events allow you to perform some custom business logic before or after the page is changed.

PageIndexChanging — The moment right before the page index is changed, the PageIndexChanging event fires. This event can be cancelled if your certain conditions are not met.

PageIndexChanged — This event fires after the page index changes.

You can access very useful information using these events. For example when the PageIndexChanging event is fired, you can determine the ColumnLayout that the event was triggered for or you can determine the collection of rows that the ColumnLayout will represent.