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.

3 questions about Grid control

Thread ID:





90786 Oct 18,2009 04:23 AM Oct 20,2009 06:09 AM Windows Forms 3
Tags: GridControl
Asked On October 18, 2009 04:23 AM

Hi, everyone

I have few questions:

1. How can I know the number of current visible rows? (rows that the user can see now without scrolling)
2. How can I know if a specific row is visible now (without scrolling)?
3. How can I perform something like PageDown in Grid Control?

If anybody has the answer of even one of the questions above, please write it down, and send it back to the forum.

Thanks in advance, and have a nice day :)

Lingaraj S [Syncfusion]
Replied On October 19, 2009 09:20 AM

Hi Allon,

Thank you for your interest in Syncfusion products.

1. The VisibleRows property contains visible rows count in GridControl.


2. The VisibleRowsList property contains visible rows collection.

if (this.gridControl1.ViewLayout.VisibleRowsList.Contains(4))
Console.WriteLine("4 th row contains in visible range");

3. By default, GridControl is supporting for page up and page down functions. If you want to scroll a rows through code, then please try using ScrollCellInView method in GridControl to achieve your requirements.


Please let me know if you have any queries.

Lingaraj S.

Replied On October 20, 2009 03:58 AM

Lingaraj S., Thanks for replying me so quickly.

Everything works very well, and the answer of q.3 is the combination of answer 1 and answer 3.

Have a nice day :)

Lingaraj S [Syncfusion]
Replied On October 20, 2009 06:09 AM

Hi Allon,

Thanks for the update.

Please let me know if it helps.

Lingaraj 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.

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.