ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split Object

True DBGrid for .NET supports Excel-like splits that divide the grid into vertical and horizontal 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 C1TrueDBGrid control is created, it contains one Split object by default. Many of the properties of the Split object also apply to the C1TrueDBGrid control as a whole, so there is no need to be concerned with splits until needed such as when creating fixed, nonscrolling columns. The object can be accessed as follows:

·      Visual Basic

Me.C1TrueDBGrid1.Splits(0).Caption = "Split00"

·      C#

this.C1TrueDBGrid1.Splits[0].Caption = "Split00";

·      Delphi

Self.C1TrueDBGrid1.Splits[0].Caption := 'Split00';

See Also

How to Use Splits

Using the Split Collection Editor

Reference Topics

Split Properties

Split Methods


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.