ST
stanleyj
Syncfusion Team
August 4, 2006 12:58 PM UTC
Hi Merrill,
SetScrollPosition is the function that helps in scrolling the grid.. This is recorded in grid.HScrollBar.ValueChanged and grid.VScrollBar.ValueChanged handlers and the replay is done by setting the grid.VScrollBar.Value and grid.HScrollBar.Value.. I have not tried in 2.0 but that should work the same. Is other functions working good for you? Here are some sample scripts of SetScrollPosition..
SwfWindow("GridControl").SwfObject("gridControl1").SetScrollPosition 4,6
SwfWindow("GridControl").SwfObject("gridControl1").SetCurrentCell 4,14
SwfWindow("GridControl").SwfObject("gridControl1").SetScrollPosition 1,6
SwfWindow("GridControl").SwfObject("gridControl1").SetCurrentCell 1,14
Best regards,
Stanley