Members
(static) adapter
Adapts dataset format to plain array
see datasource_adapters.js
- Source:
(static) cloned
if true => this datasource is the product of a cloning operation: NEVER FORCE THIS VALUE
- Source:
(static) errors
- Source:
(static) hasErrors
- Source:
(static) hasResultSet
- Source:
(static) isFreshlyCreated
- Source:
(static) lazy
if true => requires explicit "refresh"
- Source:
(static) query :String
Query to be issued
Type:
- String
- Source:
(static) ready :Callback
Callback to be called when data is ready
Type:
- Callback
- Source:
(static) searchItem
HTML control whose value represents the $search_param of the query
- Source:
(static) singleton
if true => selected row is the same for all items referring to this datasource and all controls are notified if selection changes
- Source:
(static) triggerItem
HTML control triggering a refresh in this datasource
- Source:
(static) type
- Source:
(static) uri
- Source:
(static) url
- Source:
Methods
(static) addListener(callback)
Parameters:
Name | Type | Description |
---|---|---|
callback |
- Source:
(static) getCurrentRow() → {Array.<string>}
- Source:
Returns:
- Type
- Array.<string>
(static) getId()
Returns the id
- Source:
(static) getLanguage() → {string}
- Source:
Returns:
- Type
- string
(static) getListeners() → {Array}
- Source:
Returns:
- Type
- Array
(static) getResultSet() → {Array.<Array.<string>>}
- Source:
Returns:
- Type
- Array.<Array.<string>>
(static) refresh()
Loads the data
- Source:
(static) setLanguage(lang)
Parameters:
Name | Type | Description |
---|---|---|
lang |
- Source:
(static) setSearchItem(value)
Parameters:
Name | Type | Description |
---|---|---|
value |
- Source: