ComponentOne True DBGrid Pro 8
DataField Property (Column)

DataField Property (Column)

The DataField property returns or sets the name of the field in the database table to which a grid column is bound.

Syntax

column.DataField= string

Remarks

Read/Write at run time and design time.

When the DataMode property of the grid is set to 0 - Bound, the DataField property is used to bind a column to a particular field in the database table. If the specified field does not exist in the database table, binding does not occur, and the column will be blank at run time.

To specify an unbound column in a bound grid, the DataField property must be empty in order for the column data to be requested in the UnboundColumnFetch event.

See Also

TDBDropDown Control

Column Object

 

 


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

Product Support Forum  |  Documentation Feedback