|
@ -58,6 +58,7 @@ function jfrefreshgrid(data, range, allParam, isRunExecFunction = true, isRefres |
|
|
let cdformat = allParam["cdformat"]; //条件格式
|
|
|
let cdformat = allParam["cdformat"]; //条件格式
|
|
|
let dataVerification = allParam["dataVerification"]; //数据验证
|
|
|
let dataVerification = allParam["dataVerification"]; //数据验证
|
|
|
let dynamicArray = allParam["dynamicArray"]; //动态数组
|
|
|
let dynamicArray = allParam["dynamicArray"]; //动态数组
|
|
|
|
|
|
let hyperlink = allParam["hyperlink"]; |
|
|
|
|
|
|
|
|
let file = Store.luckysheetfile[getSheetIndex(Store.currentSheetIndex)]; |
|
|
let file = Store.luckysheetfile[getSheetIndex(Store.currentSheetIndex)]; |
|
|
|
|
|
|
|
@ -110,6 +111,8 @@ function jfrefreshgrid(data, range, allParam, isRunExecFunction = true, isRefres |
|
|
"curDataVerification": curDataVerification, |
|
|
"curDataVerification": curDataVerification, |
|
|
"dynamicArray": $.extend(true, [], file["dynamicArray"]), |
|
|
"dynamicArray": $.extend(true, [], file["dynamicArray"]), |
|
|
"curDynamicArray": curDynamicArray, |
|
|
"curDynamicArray": curDynamicArray, |
|
|
|
|
|
"hyperlink": hyperlink && $.extend(true, {}, file.hyperlink), |
|
|
|
|
|
"curHyperlink": hyperlink, |
|
|
"range": range, |
|
|
"range": range, |
|
|
"dataRange": [...file.luckysheet_select_save]// 保留操作时的选区
|
|
|
"dataRange": [...file.luckysheet_select_save]// 保留操作时的选区
|
|
|
}); |
|
|
}); |
|
@ -153,6 +156,12 @@ function jfrefreshgrid(data, range, allParam, isRunExecFunction = true, isRefres |
|
|
server.saveParam("all", Store.currentSheetIndex, dynamicArray, { "k": "dynamicArray" }); |
|
|
server.saveParam("all", Store.currentSheetIndex, dynamicArray, { "k": "dynamicArray" }); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(hyperlink != null){ |
|
|
|
|
|
file["hyperlink"] = hyperlink; |
|
|
|
|
|
hyperlinkCtrl.hyperlink = hyperlink; |
|
|
|
|
|
server.saveParam("all", Store.currentSheetIndex, hyperlink, { "k": "hyperlink" }); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//更新数据的范围
|
|
|
//更新数据的范围
|
|
|
for(let s = 0; s < range.length; s++){ |
|
|
for(let s = 0; s < range.length; s++){ |
|
|
let r1 = range[s].row[0]; |
|
|
let r1 = range[s].row[0]; |
|
|