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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to bring scroll bar location to selected record

Thread ID:

Created:

Updated:

Platform:

Replies:

58090 Mar 17,2007 12:48 PM UTC Mar 19,2007 05:04 PM UTC WinForms 1
loading
Tags: GridControl
swaminath dhavane
Asked On March 17, 2007 12:48 PM UTC

there are records in grid and sorted in aphabatical order .Now i have to bring Scrol position to location where i have set record as current record.

Administrator [Syncfusion]
Replied On March 19, 2007 05:04 PM UTC

Hi Swaminath,

You can get the position of vertical scroll bar using the TableControl.GetCurrentVScrollPixelPos() method and set the position of vertical scroll bar using the TableControl.SetCurrentVScrollPixelPos() method. Using these methods you can able to move the ScrollBar as required

[C#]
this.gridGroupingControl1.TableControl.SetCurrentVScrollPixelPos(PixelPosition);

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

;