GridColumnDateRangePickerSettings.CalendarColumnCount Property
Specifies the number of months displayed in the header filter’s drop-down calendars.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 2 | The number of displayed months. |
Remarks
Set a date column’s GridDataColumnHeaderFilterSettings.Mode property to DateRangePicker to allow users to select a date range in the column header filter.
The date editor in the date range picker control displays two months in its drop-down calendar. You can use the CalendarColumnCount property to change the number of displayed columns.
<Columns>
...
<dx:GridViewDataDateColumn FieldName="VisitDate" Width="300px" Settings-AllowHeaderFilter="True">
<SettingsHeaderFilter>
<DateRangePickerSettings CalendarColumnCount="4" />
</SettingsHeaderFilter>
</dx:GridViewDataDateColumn>
</Columns>
Note
The CalendarColumnCount property specified for the start date editor in the date range picker control is not in effect.
See Also