Caplin Trader 5.1.0

Class: module:ct-grid/refine/component/presenter/DefaultSortingPresentationNode

module:ct-grid/refine/component/presenter/DefaultSortingPresentationNode(templateName)

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

Constructor

new module:ct-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

Overrides:

clear()

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

Overrides:

getColumn()

Get the configured column.

Inherited From:

getTemplateName()

Get the template id to render the node with

Inherited From:
Implements:

setColumn(gridColumn)

Set the column which the node should sort

Parameters:
Name Type Description
gridColumn module:ct-grid/GridColumn
Overrides: