pageChanging
Triggered before the change of the page.
Examples
<table id="grid"></table>
<script>
var grid = $('#grid').grid({
dataSource: '../Grid/GetPlayers',
columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ],
pager: { enable: true, limit: 2, sizes: [2, 5, 10, 20] }
});
grid.on('pageChanging', function (e, newPage) {
alert('The new page is ' + newPage + '.');
});
</script>