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

Rows scrolling at run time

Thread ID:





90619 Oct 12,2009 06:34 AM UTC Oct 13,2009 04:27 AM UTC WinForms 3
Tags: GridControl
Asked On October 12, 2009 06:34 AM UTC

Hi, everyone

I'd like to know, how can I determine which row will be displayed after event handling. For example, I have 400 px height grid, and 3000 rows inside. After I press a button, I want one of the last row (lets say, indexed 2000) to be scrolled to the second position (in saying scrolled, I mean that the order remains, and the chosen row will jump to the second location). My question is, how to scroll rows inside grid control at run time.

Thanks in advance, and have a nice day :)

Lingaraj S [Syncfusion]
Replied On October 12, 2009 10:50 AM UTC

Hi Allon,

Thank you for your interest in Syncfusion products.

Please try using TopRowIndex property in GridControl to achieve your requirement as shown in below:

// Top row index specify the first row in GridControl
// In this 2000 th row placed in second position in GridControl view
this.gridControl1.TopRowIndex = 1999;

Please let me know if you have any queries.

Lingaraj S.

Replied On October 12, 2009 11:56 AM UTC

Hi, Lingaraj S.

It works very well now.

Thanks a lot and have a nice day :)

Rajadurai C [Syncfusion]
Replied On October 13, 2009 04:27 AM UTC

Hi Allon,

Thanks for your update.



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

or the page will be automatically redirected to 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