Object Model > Split Object, Splits Collection |
True DBGrid supports Excel-like splits that divide the grid into vertical panes to provide users with different views of the data source. Each split is represented by a Split object and contains a group of adjacent columns that scroll as a unit.
When a TDBGrid control is created, it contains one Split object by default. Many of the properties of the Split object also apply to the TDBGrid control as a whole, so you do not need to concern yourself with splits until you actually need to use them, such as when creating fixed, nonscrolling columns.
The TDBGrid control maintains a Splits collection to hold and manipulate Split objects. A grid has one split by default, but may contain multiple splits. This collection is accessed using the Splits property.