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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Page Settings assign new value of page size

Thread ID:

Created:

Updated:

Platform:

Replies:

141139 Nov 26,2018 12:06 PM UTC Nov 26,2018 07:23 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: DataGrid
Kaloyan Stefanov
Asked On November 26, 2018 12:06 PM UTC

Is it possible to change the page size of Grid control runtime?


Madhu Sudhanan P [Syncfusion]
Replied On November 26, 2018 07:23 PM UTC

Hi Kaloyan, 

Thanks for contacting Syncfusion support. 

You can change the pageSize dynamically as follows. 


<script> 
    var grid = document.getElementById("Grid").ej2_instances[0]; 
    grid.pageSettings.pageSize = 10; 
</script> 



Regards, 
Madhu Sudhanan P 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon