21
Help for ParamQuery Pro / Re: Exported Excel Issues with Merged Cells and SUM in WPS/MS Office
« Last post by paramvir on June 19, 2025, 04:37:36 pm »1st issue:
ParamQuery Pro supports xlsx format only, so please ensure to name the file with xlsx extension while downloading the file.
2nd issue:
Please add this refresh event in the grid initialization object. It would ensure to clear all the merged cells except the 1st cell in merged cell range, whenever any range of cells is merged in ParamQuery grid.
ParamQuery Pro supports xlsx format only, so please ensure to name the file with xlsx extension while downloading the file.
2nd issue:
Please add this refresh event in the grid initialization object. It would ensure to clear all the merged cells except the 1st cell in merged cell range, whenever any range of cells is merged in ParamQuery grid.
Code: [Select]
refresh(){
var mc = this.options.mergeCells,
mcLast = mc.at(-1);
if( mcLast ){
//debugger;
let {r1, c1, r2, c2, rc, cc, cleared} = mcLast,
count = rc * cc;
if(count > 1 && !cleared){
let val = this.Range({r1, c1}).value()[0],
r = this.Range({r1, c1: c1, r2, c2});
mcLast.cleared = true;
this.one('beforeValidate', (evt, ui) => {ui.history = false});
r.value([val]);
}
}
},