Caplin Trader 5.1.0

Class: module:ct-element/styler/grid/ClearButtonStyler

module:ct-element/styler/grid/ClearButtonStyler()

new module:ct-element/styler/grid/ClearButtonStyler()

Extends:

Extends

Methods

style(value, attributes, control)

Shows or hides the 'clear filter' button depending on if there is a filter set or not.

Parameters:
Name Type Description
value string

the control value.

attributes Map

the map of attributes.

Properties
Name Type Attributes Default Description
cssButtonSelector string <optional>
'.FlatButton.combo-clear'

The CSS selector used to find the button.

control module:ct-control/Control

the control.

Overrides: