Version

We recommend that you use the xamDataGrid control instead of the xamGrid control. The xamGrid is being planned for retirement over the next few years and will not receive any new features. We will continue to provide support and critical bug fixes for the xamGrid during this time. For help or questions on migrating your codebase to the xamDataGrid, please contact support.

Paging Events

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.