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

Display maximun rows

Thread ID:





66845 Aug 3,2007 09:51 AM UTC Aug 3,2007 02:48 PM UTC WinForms 1
Tags: GridControl
Jasper Tam
Asked On August 3, 2007 09:51 AM UTC

I have a dataset with say 100 order rows.

I would like to ask whether I can limit the number of row displayed in the grid e.g when the grid is sorted by Price Column, only top 20 highest price order are displayed but when it is sort by Quantity Column, top 20 highest quantity order are display.


haneefm [Syncfusion]
Replied On August 3, 2007 02:48 PM UTC

Hi Jasper,

You can try calling the Hidden.SetRange method to hide/show the specified range of rows in a grid. Below is a code snippet

grid.Model.Rows.Hidden.SetRange(21, grid.Model.RowCount, true)

Best regards,


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