-<html>
-<head>
- <title>The source code</title>
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
-</head>
-<body onload="prettyPrint();">
- <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-<div id="cls-Ext.ListView.Sorter"></div>/**\r
- * @class Ext.ListView.Sorter\r
+<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.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>
-</body>
+});\r
+\r
+// Backwards compatibility alias\r
+Ext.ListView.Sorter = Ext.list.Sorter;</pre> \r
+</body>\r
</html>
\ No newline at end of file