X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.ux.tree.XmlTreeLoader.html?ds=inline diff --git a/docs/output/Ext.ux.tree.XmlTreeLoader.html b/docs/output/Ext.ux.tree.XmlTreeLoader.html new file mode 100644 index 00000000..ddde7be2 --- /dev/null +++ b/docs/output/Ext.ux.tree.XmlTreeLoader.html @@ -0,0 +1,206 @@ +
Properties Methods Events Config Options Direct Link
Observable
  TreeLoader
    XmlTreeLoader

Class Ext.ux.tree.XmlTreeLoader

Package:Ext.ux.tree
Defined In:XmlTreeLoader.js
Class:XmlTreeLoader
Extends:TreeLoader

A TreeLoader that can convert an XML document into a hierarchy of Ext.tree.TreeNodes. +Any text value included as a text node in the XML will be added to the parent node as an attribute +called innerText. Also, the tag name of each XML node will be added to the tree node as +an attribute called tagName.

+

By default, this class expects that your source XML will provide the necessary attributes on each +node as expected by the Ext.tree.TreePanel to display and load properly. However, you can +provide your own custom processing of node attributes by overriding the processNode method +and modifying the attributes as needed before they are used to create the associated TreeNode.

Config Options

Config OptionsDefined By
 baseParams : Object
An object containing properties which +specify HTTP parameters to be passed to each request for child nodes.
TreeLoader
 clearOnLoad : Boolean
Default to true. Remove previously existing +child nodes before loading.
TreeLoader
 directFn : Function
Function to call when executing a request.
TreeLoader
 preloadChildren : Boolean
If set to true, the loader recursively loads "children" attributes when doing the first load on nodes.
TreeLoader
 requestMethod : String
The HTTP request method for loading data (defaults to the value of Ext.Ajax.method).
TreeLoader
 url : String
Equivalent to dataUrl.
TreeLoader

Public Properties

PropertyDefined By
 XML_NODE_ELEMENT : Number
XML element node (value 1, read-only)
XmlTreeLoader
 XML_NODE_TEXT : Number
XML text node (value 3, read-only)
XmlTreeLoader

Public Methods

MethodDefined By

Public Events

EventDefined By
\ No newline at end of file