Skip to main content

TcxCustomGridTableDateTimeHandling.DateFormat Property

Specifies the format pattern for grouping values created using the date part of item values.

Declaration

property DateFormat: string read; write;

Property Value

Type
string

Remarks

If this property is set to an empty string, the format pattern is determined automatically as specified by the GetDateFormat function.

Refer to the FormatDateTime function’s description for additional information on specifiers that can be used to create the format string.

A View creates grouping values using the date part of item values provided that:

  • the Grouping property is set to dtgByDate and data is grouped by any of the items that display date/time values;

  • the DateTimeGrouping property of an item that displays date/time values is set to dtgByDate and data is grouped by this item.

These grouping values are displayed in the corresponding group rows.

See Also