</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.1
- * Copyright(c) 2006-2010 Ext JS, Inc.
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
*/
<div id="cls-Ext.data.GroupingStore"></div>/**
* @class Ext.data.GroupingStore
*/
groupOnSort:false,
+ <div id="cfg-Ext.data.GroupingStore-groupDir"></div>/**
+ * @cfg {String} groupDir
+ * The direction to sort the groups. Defaults to <tt>'ASC'</tt>.
+ */
groupDir : 'ASC',
<div id="method-Ext.data.GroupingStore-clearGrouping"></div>/**
//check the contents of the first sorter. If the field matches the CURRENT groupField (before it is set to the new one),
//remove the sorter as it is actually the grouper. The new grouper is added back in by this.sort
- sorters = this.multiSortInfo.sorters;
+ var sorters = this.multiSortInfo.sorters;
if (sorters.length > 0 && sorters[0].field == this.groupField) {
sorters.shift();
}