X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/output/Ext.tree.TreeSorter.html diff --git a/docs/output/Ext.tree.TreeSorter.html b/docs/output/Ext.tree.TreeSorter.html index 70f0c4ad..abbd0e2c 100644 --- a/docs/output/Ext.tree.TreeSorter.html +++ b/docs/output/Ext.tree.TreeSorter.html @@ -1,132 +1,18 @@ -
-
- Properties - Methods - Events - Config Options - Direct Link -
-

Class Ext.tree.TreeSorter

- - - - - -
Package:Ext.tree
Defined In:TreeSorter.js
Class:TreeSorter
Extends:Object
-
- * -Provides sorting of nodes in a Ext.tree.TreePanel. The TreeSorter automatically monitors events on the -associated TreePanel that might affect the tree's sort order (beforechildrenrendered, append, insert and textchange). -Example usage:
-
new Ext.tree.TreeSorter(myTree, {
-    folderSort: true,
-    dir: "desc",
-    sortType: function(node) {
-        // sort by a custom, typed attribute:
-        return parseInt(node.id, 10);
-    }
-});
- -
- -

Config Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - caseSensitive : Boolean
- true for case-sensitive sort (defaults to false)
-
TreeSorter
  - - dir : String
- The direction to sort ("asc" or "desc," case-insensitive, defaults to "asc")
-
TreeSorter
  - - folderSort : Boolean
- True to sort leaf nodes under non-leaf nodes (defaults to false)
-
TreeSorter
  - - leafAttr : String
- The attribute used to determine leaf nodes when folderSort = true (defaults to "leaf")
-
TreeSorter
- -

Public Properties

-
This class has no public properties.
-

Public Methods

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

Public Events

-
This class has no public events.
-
\ No newline at end of file +
Properties Methods Events Config Options Direct Link

Class Ext.tree.TreeSorter

Package:Ext.tree
Defined In:TreeSorter.js
Class:TreeSorter
Extends:Object
Provides sorting of nodes in a Ext.tree.TreePanel. The TreeSorter automatically monitors events on the +associated TreePanel that might affect the tree's sort order (beforechildrenrendered, append, insert and textchange). +Example usage:
+
new Ext.tree.TreeSorter(myTree, {
+    folderSort: true,
+    dir: "desc",
+    sortType: function(node) {
+        // sort by a custom, typed attribute:

+        return parseInt(node.id, 10);
+    }
+});

Config Options

Config OptionsDefined By
 caseSensitive : Boolean
true for case-sensitive sort (defaults to false)
TreeSorter
 dir : String
The direction to sort ("asc" or "desc," case-insensitive, defaults to "asc")
TreeSorter
 folderSort : Boolean
True to sort leaf nodes under non-leaf nodes (defaults to false)
TreeSorter
 leafAttr : String
The attribute used to determine leaf nodes when folderSort = true (defaults to "leaf")
TreeSorter

Public Properties

This class has no public properties.

Public Methods

This class has no public methods.

Public Events

This class has no public events.
\ No newline at end of file