Constructordojox.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-


  1. Value.1

  2. 
    
  3. Value.2

  4. 
    

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)
parametertypedescription
argsObjectAn anonymous object to initialize properties. It expects the following values:

Jump to PropertiesFunctionsBack to top

See dojo.data.api.Read.close() nothing to do here!
FunctioncontainsValue(item, attribute, value)
See dojo.data.api.Read.containsValue()
FunctionfetchItemByIdentity(keywordArgs)
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.
FunctiongetLabel(item)
See dojo.data.api.Read.getLabel()
See dojo.data.api.Read.getLabelAttributes()
FunctiongetValue(item, attribute, defaultValue)
See dojo.data.api.Read.getValue()
FunctiongetValues(item, attribute)
See dojo.data.api.Read.getValues()
FunctionhasAttribute(item, attribute)
See dojo.data.api.Read.hasAttribute()
FunctionisItem(something)
See dojo.data.api.Read.isItem()
FunctionisItemLoaded(something)
See dojo.data.api.Read.isItemLoaded()
FunctionloadItem(keywordArgs: Object)
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(request, fetchHandler, errorHandler)
Fetch items (XML elements) that match to a query
Function_finishFetchItems(request, fetchHandler, errorHandler)
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"]

Jump to FunctionsPropertiesBack to top

id of the table element in the remote page
url of the remote page to load