X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/output/Ext.tree.TreeLoader.html diff --git a/docs/output/Ext.tree.TreeLoader.html b/docs/output/Ext.tree.TreeLoader.html index 9ff2d310..9420540f 100644 --- a/docs/output/Ext.tree.TreeLoader.html +++ b/docs/output/Ext.tree.TreeLoader.html @@ -1,26 +1,6 @@ -
-
- Properties - Methods - Events - Config Options - Direct Link -
-
-
Observable
-  TreeLoader
-

Class Ext.tree.TreeLoader

- - - - - -
Package:Ext.tree
Defined In:TreeLoader.js
Class:TreeLoader
Extends:Observable
-
- * -A TreeLoader provides for lazy loading of an Ext.tree.TreeNode's child +
Observable
  TreeLoader

Class Ext.tree.TreeLoader

Package:Ext.tree
Defined In:TreeLoader.js
Class:TreeLoader
Extends:Observable
A TreeLoader provides for lazy loading of an Ext.tree.TreeNode's child nodes from a specified URL. The response must be a JavaScript Array definition -whose elements are node definition objects. eg: +whose elements are node definition objects. e.g.:
[{
         id: 1,
         text: 'A leaf Node',
@@ -42,528 +22,241 @@ enable the server to produce the correct child nodes.
 To pass extra parameters, an event handler may be attached to the "beforeload"
 event, and the parameters specified in the TreeLoader's baseParams property:
 
myTreeLoader.on("beforeload", function(treeLoader, node) {
-        this.baseParams.category = node.attributes.category;
-    }, this);
+ this.baseParams.category = node.attributes.category; + }, this);
This would pass an HTTP parameter called "category" to the server containing -the value of the Node's "category" attribute.
- -
- -

Config Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - baseParams : Object
- (optional) An object containing properties which specify HTTP parameters to be passed to each request for child nodes.
-
TreeLoader
  - - clearOnLoad : Boolean
- (optional) Default to true. Remove previously existing child nodes before loading.
-
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

-
This class has no public properties.
-

Public Methods

- - - - - - - - - - - - - - - - - -
MethodDefined By

Public Events

EventDefined By
\ No newline at end of file