Class Qww.CurrentSelections.Mgr
JavaScript class to manage communication with an underlying current selections control.
Defined in: <JavaScript\QWW\QwwJs_CurrentSelectionsMgr.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Constructs a new Qww.CurrentSelections.Mgr instance.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Reference to the configuration object which was used to create construct the object.
|
|
|
Collection of Qww.CurrentSelections.Row objects representing
the current selections in the application.
|
| Method Attributes | Method Name and Description |
|---|---|
|
GetSelectionsForField(fieldName)
Returns the current selections summary from the underlying current selections box in the
QlikView application.
|
Class Detail
Qww.CurrentSelections.Mgr(cfg)
Constructs a new Qww.CurrentSelections.Mgr instance.
- Parameters:
- {Object} cfg
- JSON object to configure ButtonMgr.
- {String} cfg.ObjectID
- Id of the current selections control in the QlikView application.
- {String} cfg.ApplicationID Optional, Default: null
- Id/Name of the QlikView application. Note this is only necessary when multiple QlikView documents are being used on the same web page and should otherwise be set to null.
- {Function} cfg.OnUpdate Optional
- Function to call whenever the current selections are updated. Function should accepts a single parameter which is a reference to this Qww.CurrentSelections.Mgr itself.
Field Detail
{Object}
Cfg
Reference to the configuration object which was used to create construct the object. This
allows certain properties to be updated after initial instantiation.
{Qww.CurrentSelections.Row[]}
Selections
Collection of Qww.CurrentSelections.Row objects representing
the current selections in the application.
Method Detail
{String}
GetSelectionsForField(fieldName)
Returns the current selections summary from the underlying current selections box in the
QlikView application.
- Parameters:
- {String|null} fieldName Optional
- Leave out or set to null to return the first entry in the current selections box.
- Returns:
- {String} Current selections summary string for the field.
