Class Qww.ListBox.Item
Represents an item in the listbox.
Defined in: <JavaScript\QWW\QwwJs_ListBoxMgr.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Constructs a new Qww.ListBox.Item instance.
|
| Field Attributes | Field Name and Description |
|---|---|
|
ColleIf the .Text property represents a string of concatenated values (e.g.
|
|
|
The frequency of the listbox item.
|
|
|
The record number of the item.
|
|
|
The state of the listbox item (associated, selected, disabled).
|
|
|
The text value of the listbox item.
|
|
|
The underlying value of the listbox item.
|
| Method Attributes | Method Name and Description |
|---|---|
|
Returns a text summary string for the item.
|
|
|
ParseCellsFromText(delimitter)
If the .Text property represents a string of concatenated values (e.g.
|
Class Detail
Qww.ListBox.Item()
Constructs a new Qww.ListBox.Item instance.
- Returns:
- {Qww.ListBox.Item} Qww.ListBox.Item
Field Detail
{String[]}
Cells
ColleIf the .Text property represents a string of concatenated values (e.g. to mimic columns) then
this property will contain an array of cells representing these columns. NOTE that this will be empty
UNLESS the .ParseCellsFromText method has first been called.
{Int}
Frequency
The frequency of the listbox item.
{Int}
RecordNumber
The record number of the item. NOTE this is only currently populated when the object is created within
a Qww.Ctls.FlexiGrid.Mgr and passed to the OnRenderRecord method.
{Qww.ListBox.Mgr.ItemState}
State
The state of the listbox item (associated, selected, disabled).
{String}
Text
The text value of the listbox item. This should be used for selecting items by text.
{Int}
Value
The underlying value of the listbox item. This should be used for selecting items by value.
Method Detail
{String}
GetSummary()
Returns a text summary string for the item.
ParseCellsFromText(delimitter)
If the .Text property represents a string of concatenated values (e.g. to mimic columns) then
this method will parse the text property and populate the .Cells property with the results.
- Parameters:
- {String} delimitter
- String to 'split' the .Text on in order to derive the .Cells collections of columns.
