<html>\r
<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
</head>\r
<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js"><div id="cls-Ext.ListView.Sorter"></div>/**\r
- * @class Ext.ListView.Sorter\r
+ <pre class="prettyprint lang-js"><div id="cls-Ext.list.Sorter"></div>/**\r
+ * @class Ext.list.Sorter\r
* @extends Ext.util.Observable\r
- * <p>Supporting Class for Ext.ListView.</p>\r
+ * <p>Supporting Class for Ext.list.ListView</p>\r
* @constructor\r
* @param {Object} config\r
*/\r
-Ext.ListView.Sorter = Ext.extend(Ext.util.Observable, {\r
- <div id="cfg-Ext.ListView.Sorter-sortClasses"></div>/**\r
+Ext.list.Sorter = Ext.extend(Ext.util.Observable, {\r
+ <div id="cfg-Ext.list.Sorter-sortClasses"></div>/**\r
* @cfg {Array} sortClasses\r
* The CSS classes applied to a header when it is sorted. (defaults to <tt>["sort-asc", "sort-desc"]</tt>)\r
*/\r
\r
constructor: function(config){\r
Ext.apply(this, config);\r
- Ext.ListView.Sorter.superclass.constructor.call(this);\r
+ Ext.list.Sorter.superclass.constructor.call(this);\r
},\r
\r
init : function(listView){\r
this.view.store.sort(this.view.columns[index].dataIndex);\r
}\r
}\r
-});</pre> \r
+});\r
+\r
+// Backwards compatibility alias\r
+Ext.ListView.Sorter = Ext.list.Sorter;</pre> \r
</body>\r
</html>
\ No newline at end of file