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. Image for the cookie policy date
close icon

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

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.

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon