ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

DataViewEnum Enumeration

Specifies how the grid displays its data.

[Visual Basic]

Public Enum DataViewEnum

[C#]

public enum DataViewEnum

[Delphi]

type DataViewEnum = (Form, GroupBy, Hierarchical, Inverted, MultipleLines, MultipleLinesFixed, Normal);

Namespace: C1.Win.C1TrueDBGrid

Assembly: C1.Win.C1TrueDBGrid.2 (in C1.Win.C1TrueDBGrid.2.dll)

Members

Member name

Description

Form

The data will be displayed in a convenient data entry form.

GroupBy

A grouping area is created at the top of the grid; any columns that are placed into this area become part of the GroupedColumn collection. When in group mode, grid columns can be moved into or out of the grouping area with the Add and RemoveAt methods, respectively. Users can also perform this action by selecting and dragging a column into or out of the grouping. Users can customize the display of the grouped row with styles and automatically compute aggregates for columns that are grouped. The expanded/collapsed state of the grouping can also be specified.

Hierarchical

The grid will display DataSets in a hierarchical format. At run time, users can expand and collapse hierarchical recordset Bands using a treeview-like interface.

Inverted

Rows will be represented horizontally and columns vertically.

MultipleLines

The grid will display all the fields in the current grid area with multiple lines.

MultipleLinesFixed

The grid will display all the fields in the current grid area with multiple lines. The number of subrows does not change once set. The number of subrows can be set using the LinesPerRow property.

Normal

The grid will only display flat files and will not support a hierarchical view. If the data source is a hierarchical dataset, the grid will only display data from the master table.

See Also

C1.Win.C1TrueDBGrid Namespace


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