X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/pkgs/data-grouping-debug.js diff --git a/pkgs/data-grouping-debug.js b/pkgs/data-grouping-debug.js index 91163d84..d07bf737 100644 --- a/pkgs/data-grouping-debug.js +++ b/pkgs/data-grouping-debug.js @@ -1,8 +1,8 @@ /*! - * 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 */ /** * @class Ext.data.GroupingStore @@ -85,6 +85,10 @@ Ext.data.GroupingStore = Ext.extend(Ext.data.Store, { */ groupOnSort:false, + /** + * @cfg {String} groupDir + * The direction to sort the groups. Defaults to 'ASC'. + */ groupDir : 'ASC', /** @@ -126,7 +130,7 @@ Ext.data.GroupingStore = Ext.extend(Ext.data.Store, { //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(); }