X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Sortable.html diff --git a/docs/source/Sortable.html b/docs/source/Sortable.html index a9f7bf63..46aeb2c9 100644 --- a/docs/source/Sortable.html +++ b/docs/source/Sortable.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.util.Sortable
 
 A mixin which allows a data component to be sorted. This is used by e.g. {@link Ext.data.Store} and {@link Ext.data.TreeStore}.
@@ -10,14 +27,14 @@ is more likely you will want to use one of the component classes that import thi
  * @docauthor Tommy Maintz <tommy@sencha.com>
  */
 Ext.define("Ext.util.Sortable", {
-    /**
+    /**
      * @property isSortable
      * @type Boolean
      * Flag denoting that this object is sortable. Always true.
      */
     isSortable: true,
     
-    /**
+    /**
      * The default sort direction to use if one is not specified (defaults to "ASC")
      * @property defaultSortDirection
      * @type String
@@ -28,13 +45,13 @@ Ext.define("Ext.util.Sortable", {
         'Ext.util.Sorter'
     ],
 
-    /**
+    /**
      * The property in each item that contains the data to sort. (defaults to null)
      * @type String
      */    
     sortRoot: null,
     
-    /**
+    /**
      * Performs initialization of this mixin. Component classes using this mixin should call this method
      * during their own initialization.
      */
@@ -42,7 +59,7 @@ Ext.define("Ext.util.Sortable", {
         var me = this,
             sorters = me.sorters;
         
-        /**
+        /**
          * The collection of {@link Ext.util.Sorter Sorters} currently applied to this Store
          * @property sorters
          * @type Ext.util.MixedCollection
@@ -56,7 +73,7 @@ Ext.define("Ext.util.Sortable", {
         }
     },
 
-    /**
+    /**
      * <p>Sorts the data in the Store by one or more of its properties. Example usage:</p>
 <pre><code>
 //sort by a single field
@@ -173,7 +190,7 @@ store.sort('myField', 'DESC');
     
     onBeforeSort: Ext.emptyFn,
         
-    /**
+    /**
      * @private
      * Normalizes an array of sorter objects, ensuring that they are all Ext.util.Sorter instances
      * @param {Array} sorters The sorters array
@@ -235,17 +252,7 @@ store.sort('myField', 'DESC');
     
     getSorters: function() {
         return this.sorters.items;
-    },
-    
-    /**
-     * Returns an object describing the current sort state of this Store.
-     * @return {Object} The sort state of the Store. An object with two properties:<ul>
-     * <li><b>field</b> : String<p class="sub-desc">The name of the field by which the Records are sorted.</p></li>
-     * <li><b>direction</b> : String<p class="sub-desc">The sort order, 'ASC' or 'DESC' (case-sensitive).</p></li>
-     * </ul>
-     * See <tt>{@link #sortInfo}</tt> for additional details.
-     */
-    getSortState : function() {
-        return this.sortInfo;
     }
-});
\ No newline at end of file +});
+ +