rapid-spreadjs 1.0.161 → 1.0.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +590 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +590 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/dist/utils/business.d.ts +5 -1
- package/package.json +1 -1
package/dist/utils/business.d.ts
CHANGED
|
@@ -78,12 +78,16 @@ export declare const BusinessUtils: {
|
|
|
78
78
|
* @param dynamicLoadRangeJson 动态加载的“试验结果”JSON数组范围,格式如:[{row: 1, col: 1, rowCount: 1, colCount: 1}]
|
|
79
79
|
* @param headerRangeHeight 表头区域总高度
|
|
80
80
|
* @param footerRangeHeight 表尾区域总高度
|
|
81
|
+
* @param ended 绘制完成后的回调函数,返回一个参数rowIndex,格式如:{hasValueIndex: [1, 2, 3], noValueIndex: [4, 5, 6]},hasValueIndex代表所有显示的行索引,noValueIndex代表所有隐藏的行索引
|
|
81
82
|
* @param remainingHeight 剩余高度(针对纵表情况,工作表总高度-表头和表尾总高度>=remainingHeight,空白行不显示;<remainingHeight,空白行显示)
|
|
82
83
|
* @param pageDir 页面方向(1:纵向、2:横向)
|
|
83
84
|
* @param blankRowCellValue 空白行单元格值,默认为:空白
|
|
84
85
|
* @returns 返回所有需要显示和隐藏的行索引结果对象,格式如:{hasValueIndex: [1, 2, 3], noValueIndex: [4, 5, 6]},hasValueIndex代表所有显示的行索引,noValueIndex代表所有隐藏的行索引
|
|
85
86
|
*/
|
|
86
|
-
dynamicLoadRows: (GC: any, spread: any, dynamicLoadRangeJson: CellModel[], headerRangeHeight: number, footerRangeHeight: number,
|
|
87
|
+
dynamicLoadRows: (GC: any, spread: any, dynamicLoadRangeJson: CellModel[], headerRangeHeight: number, footerRangeHeight: number, ended?: (rowIndex: {
|
|
88
|
+
hasValueIndex: number[];
|
|
89
|
+
noValueIndex: number[];
|
|
90
|
+
}) => void, remainingHeight?: number, pageDir?: number, blankRowCellValue?: string) => {
|
|
87
91
|
hasValueIndex: number[];
|
|
88
92
|
noValueIndex: number[];
|
|
89
93
|
};
|