mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 05:03:55 +08:00
[SSE] Fix group data in pivot table
This commit is contained in:
@ -995,6 +995,10 @@ define([
|
||||
this._layoutParams.columns++;
|
||||
},
|
||||
|
||||
setMultiselectMode: function (multiselect) {
|
||||
this.pressedCtrl = !!multiselect;
|
||||
},
|
||||
|
||||
onResize: function() {
|
||||
this._layoutParams = undefined;
|
||||
},
|
||||
|
||||
@ -254,12 +254,14 @@ define([
|
||||
if (dateTypes) {
|
||||
var me = this,
|
||||
isDays;
|
||||
this.listDate.setMultiselectMode(dateTypes.length>1);
|
||||
_.each(dateTypes, function(item) {
|
||||
var rec = me.listDate.store.findWhere({type: item});
|
||||
rec && me.listDate.selectRecord(rec);
|
||||
if (item == Asc.c_oAscGroupBy.Days)
|
||||
isDays = true;
|
||||
});
|
||||
this.listDate.setMultiselectMode(false);
|
||||
this.spnDays.setValue(rangePr.asc_getGroupInterval());
|
||||
this.spnDays.setDisabled(!isDays || dateTypes.length>1);
|
||||
this.btnOk.setDisabled(dateTypes.length<1);
|
||||
|
||||
Reference in New Issue
Block a user