We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Paging for ejGrid not working after first page

Thread ID:





124608 Jun 17,2016 03:12 AM UTC Jun 18,2016 04:17 AM UTC JavaScript 3
Tags: ejGrid
Chris Mack
Asked On June 17, 2016 03:12 AM UTC

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.

                        dataSource: reportDetails,
                        enableRowHover: true,
                        allowTextWrap: false,
                        allowPaging: true,
                        allowSorting: true,                   
                        allowFiltering: true,
                        allowResizing: false,
                        allowResizeToFit: false,
                        allowKeyboardNavigation: true,
                        allowSearching: 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}

Ragavee U S [Syncfusion]
Replied On June 17, 2016 04:05 AM UTC

Hi Chris, 

Thanks for your interest in Syncfusion products. 

From your code example, we could see that you have specified the “pageSize” property of the Grid pageSettings as string which is supposed to be an integer value. 

Since the pageSize property is defined as a string value, upon paging the whole data is fetched thus resulting the reported behavior. So we suggest you define it as integer value. Please refer to the below API documentation link for more information  

Ragavee U S. 

Chris Mack
Replied On June 17, 2016 01:14 PM UTC

Ah thank you, that did it.

Oddly, I took that code from a page that worked great.

Ragavee U S [Syncfusion]
Replied On June 18, 2016 04:17 AM UTC

Hi Chris, 
Thanks for your update. 
We are happy that your issue is resolved. 
Ragavee U S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon