All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DateFilterWidget Class

A Date Filter's underlying widget that provides the Date Filter's functionality.

Declaration

export class DateFilterWidget

constructor(element, viewerOptions, boundaryElementContainer)

Declaration

constructor(element: HTMLElement, viewerOptions: any, boundaryElementContainer: HTMLElement)

Parameters

Name Type Description
element HTMLElement
viewerOptions any
boundaryElementContainer HTMLElement

Properties

calendarFrom Property

Gets a calendar widget that you can use to set a start date.

Declaration

calendarFrom: dxCalendar

Property Value

Type Description
dxCalendar

An underlying widget (Calendar that allows you set a start date.

calendarTo Property

Gets a calendar widget that you can use to set an end date.

Declaration

calendarTo: dxCalendar

Property Value

Type Description
dxCalendar

An underlying widget (Calendar that allows you set an end date.

datePickerButton Property

Gets a ButtonGroup widget that contains a set of toggle buttons you can use to switch between date ranges.

Declaration

datePickerButton: dxButtonGroup

Property Value

Type Description
dxButtonGroup

An underlying widget (ButtonGroup) used as a mode switcher in the DateFilter dashboard item.

quickButtons Property

Declaration

quickButtons: Array<dxButtonGroup>

Property Value

Type Description
Array<dxButtonGroup>

Methods

element Method

Declaration

element(): JQuery<HTMLElement> & Element

Returns

Type Description
JQuery<HTMLElement> & Element