How do I position the Horizontal Grid scroll bar.

Hi,

Iam using DataBoundGrid which contains more then 50 columns with a horizontal scrollbar. When I populate the data in the grid at runtime, The horizontal scrollbar is positioned in the middle. How do I position the Horizontal scroll bar to the required column?

Thanks,
Ravi.

2 Replies

AD Administrator Syncfusion Team August 21, 2006 12:31 PM UTC

Hi Ravi,

Try setting the LeftColIndex property to scroll the grid.

//Scroll the grid to 26th Column.
this.grid.LeftColIndex = 26;

Let me know if this helps.
Best Regards,
Haneef


RA Ravi August 21, 2006 01:13 PM UTC

Thanks Haneef, The problem is solved with your code.

Loader.
Up arrow icon