I have an ejgrid on a page and the first page shows the proper 25 records, but when I navigate to another page it shows all of the records rather than the selected page.
Here is my grid code. Any assistance would be appreciated.
$('#Grid').ejGrid({
dataSource: reportDetails,
enableRowHover: true,
allowTextWrap: false,
allowPaging: true,
allowSorting: true,
allowFiltering: true,
allowResizing: false,
allowResizeToFit: false,
allowKeyboardNavigation: true,
allowSearching: true,
allowMultipleExporting:true,
enablePersistance:true,
pageSettings: { pageSize: '25' },
filterSettings: { filterType: "excel" },
columns: [
{ field: "Date", width: 115 },
{ field: "Name", width: 120 },
{ field: "Product" },
{ field: "Variation", width: 120},
{ field: "Buy", width: 90},
{ field: "Order Status", width: 90 },
{ field: "Payment Status", width: 90 },
{ field: "Shipping Status", width: 100 },
{ field: "Actions", width: 90,allowFiltering:false,allowSorting:false}
]
});