array |
data
In-memory Javascript array of strings.
|
Class YAHOO.widget.DS_JSArray
Object | +--YAHOO.widget.DataSource | +--YAHOO.widget.DS_JSArray
class
YAHOO.widget.DS_JSArray
Field Summary [top]
Fields inherited from class YAHOO.widget.DataSource [top]
Constructor Summary [top]
YAHOO.widget.DS_JSArray
Implementation of YAHOO.widget.DataSource using a native Javascript array as
its live data source.
Method Summary [top]
void |
doQuery
(<object> oCallbackFn, <string> sQuery, <object> oParent)
Queries the live data source defined by data for results.
|
Methods inherited from class YAHOO.widget.DataSource
Constructor Detail [top]
YAHOO.widget.DS_JSArray
YAHOO.widget.DS_JSArray
()
Implementation of YAHOO.widget.DataSource using a native Javascript array as
its live data source.
- Parameters:
-
aData
- In-memory Javascript array of simple string data -
oConfigs
- Optional object literal of config params
Method Detail [top]
doQuery
void
doQuery
(<object> oCallbackFn, <string> sQuery, <object> oParent)
Queries the live data source defined by data for results. Results are passed
back to a callback function.
- Parameters:
-
oCallbackFn
- Callback function defined by oParent object to which to return results -
sQuery
- Query string -
oParent
- The object instance that has requested data