Caplin Trader 5.1.0

Class: module:ct-grid/decorator/ResetColumnsDecorator

module:ct-grid/decorator/ResetColumnsDecorator()

new module:ct-grid/decorator/ResetColumnsDecorator()

Constructs a ResetColumnsDecorator instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the module:ct-grid/GridComponentFactory class.

The ResetColumnsDecorator class provides a single button users can use to remove any column filters they may have applied, and/or reset the column sort order to original state.

This decorator creates a single empty DIV element with the class grid-reset-column-filters-button which can be used to style the button.

Implements:

Methods

onClose()

Implements:
See:

onContainerHtmlRendered()

Implements:
See:

setGridView()

Implements:
See: