Constructordojox.data.CsvStore

dojo.require("dojox.data.CsvStore");
defined in dojox/data/CsvStore.js

initializer

Usage

function (/*Object*/ keywordParameters) (view source)
parametertypedescription
keywordParametersObjectlabel String} The column label for the column to use for the label returned by getLabel.

Jump to PropertiesFunctionsBack to top

See dojo.data.api.Read.close()
FunctioncontainsValue(item, attribute, value)
See dojo.data.api.Read.containsValue()
See dojo.data.api.Identity.fetchItemByIdentity()
See dojo.data.api.Read.getAttributes()
See dojo.data.api.Read.getFeatures()
See dojo.data.api.Identity.getIdentity()
See dojo.data.api.Identity.getIdentifierAttributes() Identity isn't a public attribute in the item, it's the row position index. So, return null.
FunctiongetLabel(item)
See dojo.data.api.Read.getLabel()
See dojo.data.api.Read.getLabelAttributes()
FunctiongetValue(item, attribute, defaultValue)
See dojo.data.api.Read.getValue() Note that for the CsvStore, an empty string value is the same as no value, so the defaultValue would be returned instead of an empty string.
FunctiongetValues(item, attribute)
See dojo.data.api.Read.getValues() CSV syntax does not support multi-valued attributes, so this is just a wrapper function for getValue().
FunctionhasAttribute(item, attribute)
See dojo.data.api.Read.hasAttribute() The hasAttribute test is true if attribute has an index number within the item's array length AND if the item has a value for that attribute. Note that for the CsvStore, an empty string value is the same as no value.
FunctionisItem(something)
See dojo.data.api.Read.isItem()
FunctionisItemLoaded(something)
See dojo.data.api.Read.isItemLoaded() The CsvStore always loads all items, so if it's an item, then it's loaded.
FunctionloadItem(item)
See dojo.data.api.Read.loadItem()
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
This function tests whether the item passed in is indeed an item in the store.
Function_containsValue(item, attribute, value, regexp: RegExp?)
Internal function for looking at the values contained by the item.
Function_fetchItems(keywordArgs: Object, findCallback: Function, errorCallback: Function)
See dojo.data.util.simpleFetch.fetch()
Internal function to execute delayed request in the store. Execute any deferred fetches now.

Jump to FunctionsPropertiesBack to top