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.
Unfortunately, activation email could not send to your email. Please try again.

Display maximun rows

Thread ID:





66845 Aug 3,2007 05:51 AM Aug 3,2007 10:48 AM Windows Forms 1
Tags: GridControl
Jasper Tam
Asked On August 3, 2007 05:51 AM

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 10:48 AM

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.

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.