Caplin Trader 4.8.0

Class: module:caplin/grid/refine/component/presenter/TextFilteringPresentationNode

module:caplin/grid/refine/component/presenter/TextFilteringPresentationNode

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

Constructor

new module:caplin/grid/refine/component/presenter/TextFilteringPresentationNode(templateName, filterType)

Extends:
Parameters:
Name Type Description
templateName string The name of the template with which to render the node.
filterType string The filter type to send to the back-end. This should be a filter type defined on module:caplin/grid/GridColumnFilter e.g. "WILDCARD".

Extends

Methods

apply()

Apply the current input filter to the column

clear()

Remove all filters from the column and reset the input value

getColumn()

Get the configured column.
Inherited From:

getTemplateName()

Get the template id to render the node with
Inherited From:

onOpen()

Focus the input field

setColumn()

Set the column which the node should apply filters to