Skip to main content

TcxCustomGridTableDateTimeHandling.MonthFormat Property

Specifies the format pattern for filter conditions and grouping values created using months.

Declaration

property MonthFormat: 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 GetMonthFormat 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 filter conditions using months when the dtfMonths option is enabled in the Filters property and a filter dropdown is opened for any item that displays date/time values.

A View creates grouping values using months provided that:

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

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

These grouping values are displayed in corresponding group rows.

See Also