Caplin Trader 4.8.0

Class: module:caplin/element/styler/grid/ClearButtonStyler

module:caplin/element/styler/grid/ClearButtonStyler

Constructor

new module:caplin/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:caplin/control/Control the control.