Is it possible to catch the event when a user changes a page in a GridComponent?
Let's say I have this grid
<GridComponent dataSource={data} allowPaging={true} allowPaging={true} pageSettings={{ pageSize: 2 }}>
<ColumnsDirective>
<ColumnDirective field='OrderID' headerText='Order ID' width='120' textAlign='Right'></ColumnDirective>
<ColumnDirective field='CustomerName' headerText='Customer Name' width='150'></ColumnDirective>
<ColumnDirective field='OrderDate' headerText='Order Date' width='130' format='yMd' textAlign='Right' />
<ColumnDirective field='Freight' headerText='Freight' width='120' format='C2' textAlign='Right' />
<ColumnDirective field='ShipCountry' headerText='Ship Country' width='170'></ColumnDirective>
</ColumnsDirective>
<Inject services={[Page]} />
</GridComponent>
How can I make it so that a function is called (with the new page number), when a user changes the page?