[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'DBGrids' (#lcl)

# TColumn.GetDefaultDisplayFormat

Gets the default display format for the Field in a column.

## Declaration

Source position: dbgrids.pas line 272

`protected function TColumn.GetDefaultDisplayFormat: string;`

## Function result

Default display format for the Field in the column.

## Description

GetDefaultDisplayFormat is a String function used to get the default display format provided for the Field in a column definition. GetDefaultDisplayFormat uses the Field property to get its DisplayFormat for use as the return value in the method. The return value is a empty string ('') when Field has not been assigned for the column definition.

GetDefaultDisplayFormat is used in the implementation of the GetDisplayFormat method.

## See also

TColumn.Field |  | Field in the Dataset associated with this Column.
TColumn.DisplayFormat |  | The format to be used for display in this column.