Caplin Trader 5.1.0

Class: module:ct-grid/refine/component/presenter/DateFilteringPresentationNode

module:ct-grid/refine/component/presenter/DateFilteringPresentationNode(templateName)

A PresentationNode responsible for applying date filters to a grid column.

Constructor

new module:ct-grid/refine/component/presenter/DateFilteringPresentationNode(templateName)

Extends:
Parameters:
Name Type Description
templateName string

The name of the template with which to render the node

Extends

Methods

apply()

Apply the current input filter to the column

Overrides:

clear()

Remove all filters from the column and reset the input values

Overrides:

getColumn()

Get the configured column.

Inherited From:

getTemplateName()

Get the template id to render the node with

Inherited From:
Implements:

onClose()

Dispose of the listeners used to hide the datepicker

onOpen()

Focus the start date field

Overrides:

setColumn()

Set the column which the node should apply filters to

Overrides:

showEndDatePicker()

Show the datepicker associated with the end of the range

showStartDatePicker()

Show the datepicker associated with the start of the range

stopPropagation()

Stop the propagation of an event