Caplin Trader 4.7.1

Class: module:caplin/element/handler/grid/GridColumnRefinerRendererHandler

module:caplin/element/handler/grid/GridColumnRefinerRendererHandler

Constructor

new module:caplin/element/handler/grid/GridColumnRefinerRendererHandler()

A GridColumnRefinerRendererHandler handles clicks on header cells to generate a filter/sort component.
Implements:
To Do:
  • Use a gridDefinitions attribute other than primaryFieldType

Methods

finalise()

Implements:

initialise()

Implements:

onclick(event, renderer, attributes)

When user clicks on header, display the filter/sort component.
Parameters:
Name Type Description
event MouseEvent the browser's click event
renderer module:caplin/element/renderer/StreamRenderer
attributes object These attributes come from the renderer definitions XML.
Properties
Name Type Attributes Description
component string alias for the component you wish to create
filterType string <optional>
a filter type defined on module:caplin/grid/GridColumnFilter e.g. "WILDCARD".

toString()

Implements:
  • module:caplin/element/Handler#toString