mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[se] Fix solver export
This commit is contained in:
@ -6299,7 +6299,7 @@
|
||||
solverParams.getDefNames(wbModel);
|
||||
if (!solverParams.hasSolverDefNames(wbModel)) {
|
||||
const wsView = this.getWorksheet();
|
||||
const activeCell = wsView.getActiveCell(0, 0, false).getName(Asc.referenceType.A);
|
||||
const activeCell = wsView.getActiveCell(0, 0, false).getName(AscCommonExcel.referenceType.A);
|
||||
solverParams.asc_setObjectiveFunction(activeCell);
|
||||
}
|
||||
wbModel.setSolverParams(solverParams);
|
||||
|
||||
@ -346,7 +346,7 @@ $(function () {
|
||||
AscCommon.History.Undo();
|
||||
};
|
||||
const getActiveCell = function(wsView) {
|
||||
return wsView.getActiveCell(0, 0, false).getName(Asc.referenceType.A);
|
||||
return wsView.getActiveCell(0, 0, false).getName(AscCommonExcel.referenceType.A);
|
||||
}
|
||||
|
||||
QUnit.module('Goal seek');
|
||||
|
||||
Reference in New Issue
Block a user