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

How to scroll the detail window when a master record is selected.

Thread ID:





34615 Sep 13,2005 05:31 PM UTC Sep 14,2005 08:26 AM UTC WinForms 1
Tags: GridControl
John Valescu
Asked On September 13, 2005 05:31 PM UTC

Hi. I have 2 grids, master and detail. The detail has about 20 columns, the master about 5. If the detail grid is displaying its columns towards the end, and I click on the master grid, I''d like the detail to scroll back to the first column. How can I do this? Thank you.

Administrator [Syncfusion]
Replied On September 14, 2005 08:26 AM UTC

Hi Helmut, For this problem, write the following snippet in the click event of the Master grid. private void Mastergrid_Click(object sender, System.EventArgs e) { this.detailsgrid.CurrentCell.MoveTo(1,1,GridSetCurrentCellOptions.ScrollInView); } masterchild_34615.zip Regards, Leo.


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