Caplin Trader 4.7.1

Class: module:caplin/grid/decorator/NoDataFoundBubbleMessageDecorator

module:caplin/grid/decorator/NoDataFoundBubbleMessageDecorator

Constructor

new module:caplin/grid/decorator/NoDataFoundBubbleMessageDecorator(decoratorConfig)

Constructs a caplin.grid.decorator.NoDataFoundBubbleMessageDecorator instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the module:caplin/grid/GridComponentFactory class. The NoDataFoundBubbleMessageDecorator renders a bubble containing an explanatory message header and body over any grid when there is no data to be displayed. The headerText attribute will set the header text of the bubble and the bodyText attribute will set the body message. A third attribute, classname adds a CSS class string to the message bubbles's main element.

Default message if attributes are omitted:
headerText: "No matching products found"
bodyText: "Please adjust your search criteria."
classname: ""

Parameters:
Name Type Description
decoratorConfig Object config object
Implements:

Methods

onClose()

Implements:
See:

onOpen()

Implements:
See:

onRowDataReceived()

Implements:
See:

onRowDataRequested()

Implements:
See:

onRowDataUnavailable()

Implements:
See:

onSizeChanged()

Implements:
See:

setGridView()

Implements:
See: