Caplin Trader 4.8.0

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

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

A PresentationNode responsible for applying a selected sort option to a grid column.

Constructor

new module:caplin/grid/refine/component/presenter/DefaultSortingPresentationNode(templateName)

Extends:
Parameters:
Name Type Description
templateName string The name of the template with which to render the node

Extends

Methods

apply()

Apply the currently selected sort option to the column

clear()

Set the column to unsorted if it isn't already unsorted

getColumn()

Get the configured column.
Inherited From:

getTemplateName()

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

setColumn(gridColumn)

Set the column which the node should sort
Parameters:
Name Type Description
gridColumn module:caplin/grid/GridColumn