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.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

34615 Sep 13,2005 05:31 PM UTC Sep 14,2005 08:26 AM UTC Windows Forms 1
loading
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.

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

;