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

regarding scroll position of grid

Thread ID:

Created:

Updated:

Platform:

Replies:

60503 May 7,2007 12:27 PM UTC May 7,2007 05:22 PM UTC WinForms 1
loading
Tags: GridControl
swaminath dhavane
Asked On May 7, 2007 12:27 PM UTC

hi,
i am showing records in grid and i have to set particular record as selected one.i am doing that but scroll position of scroll bar remains at top not at the record i have selected.

haneefm [Syncfusion]
Replied On May 7, 2007 05:22 PM UTC

Hi Swaminath,

If you want to scroll the record into view then use the ScrollCellInView method. Here is a code snippet.

//Getting a rowindex given the record index
int position = gridGroupingControl1.Table.DisplayElements.IndexOf(record);
this.gridGroupingControl1.TableControl.ScrollCellInView(GridRangInfo.Row(position));

Also refer the below forum thread for more details.

Best regards,
Haneef

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.

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

;