Class Qww.Ctls.ListBoxEx.Mgr
JavaScript control to render the contents of a QlikView listbox in a flexible format where the developer
specifies JavaScript functions to run to render the items.
Defined in: <JavaScript\QWW\QwwJs_ListBoxCtlEx.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Constructs a new Qww.Ctls.ListBoxEx.Mgr instance.
|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
Qww.Ctls.ListBoxEx.Mgr.ItemHeight
The default height of a listbox item.
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Qww.Ctls.ListBoxEx.Mgr.ScrollAllListBoxesToTop()
Static method to scroll all listbox instances to the top.
|
Class Detail
Qww.Ctls.ListBoxEx.Mgr(cfg)
Constructs a new Qww.Ctls.ListBoxEx.Mgr instance.
- Parameters:
- {Object} cfg
- JSON object to configure Qww.Ctls.FlexiGrid.Mgr.
- {String} cfg.ElementID
- The ID of the html element into which to render the control.
- {Number} cfg.NumberOfColumns Optional, Default: Number of columns in QlikView listbox
- The number of columns over which the control should be rendered.
- {Array[String]} cfg.ImagesToPreload Optional
- An array of images to preload by the control, for example for the different states of a listitem.
- {Number} cfg.ItemHeight Optional, Default: Qww.Ctls.ListBoxEx.Mgr.ItemHeight(=200/11)
- The number of columns over which the control should be rendered.
- {String} cfg.LoadingText Optional, Default: Loading...
- Text to show in listitems while data is being retrieved.
- {Function} cfg.OnRenderItem
- Function to call to render each individual listitem. The function is passed the following arguments.({Qww.ListBox.Mgr} lbm, {Qww.ListBox.Item} item, Boolean isDuringSelection, Integer index);
Field Detail
<static>
{Number}
Qww.Ctls.ListBoxEx.Mgr.ItemHeight
The default height of a listbox item. This is used to calculate what 'page'
of data the listbox is on based on the position of the scroll item. This should
be configured so that all the items are downloaded by the time the scroll bar is
scrolled to the bottom.
- Default Value:
- 200/11.
Method Detail
<static>
Qww.Ctls.ListBoxEx.Mgr.ScrollAllListBoxesToTop()
Static method to scroll all listbox instances to the top.
