X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/Sorter.html diff --git a/docs/source/Sorter.html b/docs/source/Sorter.html index f3d4eb45..fd289044 100644 --- a/docs/source/Sorter.html +++ b/docs/source/Sorter.html @@ -1,19 +1,20 @@ + The source code -
/** - * @class Ext.ListView.Sorter +
/** + * @class Ext.list.Sorter * @extends Ext.util.Observable - *

Supporting Class for Ext.ListView.

+ *

Supporting Class for Ext.list.ListView

* @constructor * @param {Object} config */ -Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { -
/** +Ext.list.Sorter = Ext.extend(Ext.util.Observable, { +
/** * @cfg {Array} sortClasses * The CSS classes applied to a header when it is sorted. (defaults to ["sort-asc", "sort-desc"]) */ @@ -21,7 +22,7 @@ Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { constructor: function(config){ Ext.apply(this, config); - Ext.ListView.Sorter.superclass.constructor.call(this); + Ext.list.Sorter.superclass.constructor.call(this); }, init : function(listView){ @@ -68,6 +69,9 @@ Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, { this.view.store.sort(this.view.columns[index].dataIndex); } } -});
+}); + +// Backwards compatibility alias +Ext.ListView.Sorter = Ext.list.Sorter;
\ No newline at end of file