ComponentOne List 8.0 for ActiveX
DataView Property

 

DataView Property

The DataView property returns or sets how the list will display data from a data source.

Syntax

TDBList.DataView= value

Remarks

Read-only at run time. Read/Write at design time.

Property applies to TDBList control (OLE DB only).

Values

Design Time

Run Time

0 - Normal (default)

dbgNormalView

2 - Group

dbgGroupView

When set to 0 - Normal, the list will only display flat files; it will not support a hierarchical view of master-detail data. If the data source is a hierarchical recordset based on master-detail tables, the list will only display data from the master table.

When set to 2 - Group, a grouping area is created at the top of the list; any columns that are placed into this area become part of the GroupColumns collection, forming a new split. When in group mode, list columns can be moved into or out of the grouping area with the Add and Remove methods, respectively. Users can also perform this action by selecting and dragging a column into or out of the grouping area.

See Outlook-Style Grouping for more information.

Note: This property is only supported by the OLE DB version of True DBList Pro.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback