AD
Administrator
Syncfusion Team
November 3, 2006 06:59 AM UTC
Hi BinhTran,
You need to set the position of vertical scroll bar using the Grid.SetCurrentVScrollPixelPos() method, when the LogItems reaches the limit of the grid. Using this method you can able to move the ScrollBar as required.
//set the position of vertical scroll bar using the SetCurrentVScrollPixelPos() method
this.gridListControl1.Grid.SetCurrentVScrollPixelPos(10000);
If you want to scroll the specified range/cell into the view, you can use ScrollCellInView method.
this.gridListControl1.Grid.ScrollCellInView(GridRangeInfo.Row(1000)); //1000th row..
Best Regards,
Haneef
BI
BinhTran
November 7, 2006 05:07 AM UTC
Hi Haneef
Thank you for your help
I tested with ScrollCellInView and it worked. Howerver i din't know how to use with SetCurrentVScrollPixel. Anyway,I'm appreciated your help!!!
BinhTRan
>Hi BinhTran,
You need to set the position of vertical scroll bar using the Grid.SetCurrentVScrollPixelPos() method, when the LogItems reaches the limit of the grid. Using this method you can able to move the ScrollBar as required.
//set the position of vertical scroll bar using the SetCurrentVScrollPixelPos() method
this.gridListControl1.Grid.SetCurrentVScrollPixelPos(10000);
If you want to scroll the specified range/cell into the view, you can use ScrollCellInView method.
this.gridListControl1.Grid.ScrollCellInView(GridRangeInfo.Row(1000)); //1000th row..
Best Regards,
Haneef