|
|
@ -1332,7 +1332,7 @@ export function showColumn(startIndex, endIndex, options = {}) { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 设置指定行的高度 |
|
|
|
* 设置指定行的高度。优先级最高,高于默认行高和用户自定义行高。 |
|
|
|
* @param {Object} rowInfo 行数和高度对应关系 |
|
|
|
* @param {Object} options 可选参数 |
|
|
|
* @param {Number} options.order 工作表索引;默认值为当前工作表索引 |
|
|
@ -1363,8 +1363,12 @@ export function setRowHeight(rowInfo, options = {}) { |
|
|
|
if(parseInt(r) >= 0){ |
|
|
|
let len = rowInfo[r]; |
|
|
|
|
|
|
|
if(Number(len) >= 0){ |
|
|
|
cfg['rowlen'][parseInt(r)] = Number(len); |
|
|
|
if (len === 'auto') { |
|
|
|
cfg['rowlen'][parseInt(r)] = len |
|
|
|
} else { |
|
|
|
if(Number(len) >= 0){ |
|
|
|
cfg['rowlen'][parseInt(r)] = Number(len); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -6652,7 +6656,7 @@ export function refreshFormula (success) { |
|
|
|
* @param {Array} data 工作簿配置,可以包含多个表 |
|
|
|
* @param {Object} options 可选参数 |
|
|
|
* @param {Function} options.success 操作结束的回调函数 |
|
|
|
* |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function updataSheet (options = {}) { |
|
|
|
let {data, success} = options |
|
|
@ -6728,7 +6732,7 @@ export function refreshMenuButtonFocus(data ,r,c , success){ |
|
|
|
export function checkTheStatusOfTheSelectedCells(type,status){ |
|
|
|
|
|
|
|
/* 获取选区内所有的单元格-扁平后的处理 */ |
|
|
|
let cells = getRangeWithFlatten(); |
|
|
|
let cells = getRangeWithFlatten(); |
|
|
|
|
|
|
|
let flag = cells.every(({r,c})=>{ |
|
|
|
let cell = Store.flowdata[r][c]; |
|
|
@ -6739,4 +6743,4 @@ export function checkTheStatusOfTheSelectedCells(type,status){ |
|
|
|
}) |
|
|
|
|
|
|
|
return flag; |
|
|
|
} |
|
|
|
} |
|
|
|