The Grid's base class pixel scrolling is not optimized for large row scenarios. In the derived GridControl, you have to override a couple of virtual methods to make it perform well and use binary tree structures to quickly get the row index for an absolute pixel position and vice versa.
The following steps are given to optimize the pixel scrolling:
Step 1: Create a Custom derived GridControl and override the following methods for optimized vertical scrolling.
Step 2: Assign the new custom control to the GridControl.
Step 3: Set the VScrollPixel property to true.
The following screenshot displays the vertical scrolling optimization in the GridControl.
Figure 1: Vertical scrolling optimization
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|