我们可以设置网格Controller的以下属性:
1) LeftPos 2) TopRowIndex;
注意水平滚动条以像素为单位,因此水平滚动条可以滚动一个像素;而第二个属性,基于行的高度滚动,下面是一段例子代码:
cxGridView.Controller.LeftPos := 25;
cxGridView.Controller.TopRowIndex := cxGridView.Controller.TopRowIndex + 1;