dojox.data.HtmlStore
dojo.require("dojox.data.HtmlStore");
defined in dojox/data/HtmlStore.js
Attribute1 | Attribute2 |
---|---|
Value1.1 | Value1.2 |
Value2.1 | Value2.2 |
-or-
Value.1
Value.2
-or-
Value.1
Value.2
The HtmlStore can be created in one of two ways: a) by parsing an existing table or list DOM node on the current page or b) by referencing an external url and giving the id of the table or listin that page. The remote url will be parsed as an html page.
The HTML table or list should be of the following form:
Usage
function (/*Object*/ args) (view source)
parameter | type | description |
---|---|---|
args | Object | An anonymous object to initialize properties. It expects the following values: |
FunctionsBack to top
See dojo.data.api.Read.close() nothing to do here!

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.getIdentityAttributes() Identity isn't taken from a public attribute.

See dojo.data.api.Read.getLabel()

See dojo.data.api.Read.getLabelAttributes()

See dojo.data.api.Read.getValue()

See dojo.data.api.Read.getValues()

See dojo.data.api.Read.hasAttribute()

See dojo.data.api.Read.isItem()

See dojo.data.api.Read.isItemLoaded()
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.
Internal function for looking at the values contained by the item.

Fetch items (XML elements) that match to a query

Internal function for processing the passed in request and locating the requested items.
Function to return all rows in the table as an array of items.
Function to load the attribute names from the table header so that the attributes (cells in a row), can have a reasonable name. For list items, returns single implicit heading, ["name"]