Class caveList
Defined in: cave.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
caveList(id, doc, columns)
|
Class Detail
caveList(id, doc, columns)
This is the support class for a list widget
See also the overview and examples.
- Parameters:
- {string} id
- the unique ID of this list widget
- {document} doc
- the document (of the DOM)
- {Array} columns
- an array of caveColumn objects
- See:
- createCaveList
Method Detail
clear()
Clear the list of all rows.
fill(trans)
Fill the list with rows from the caveTransaction object.
- Parameters:
- {caveTransaction} trans
- the transaction to get the row data from
getSelected()
Get the selected row
- Returns:
- an array of caveParam objects, representing the selected row.