合并单元格lastShowIndex计算修改
This commit is contained in:
parent
85eaca8550
commit
9b016901ae
|
@ -51445,7 +51445,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
ColumnManager.prototype.getColumnWidth = function getColumnWidth(contentWidth) {
|
ColumnManager.prototype.getColumnWidth = function getColumnWidth(contentWidth) {
|
||||||
var columns = this.groupedColumns();
|
var columns = this.leafColumns();
|
||||||
var res = { computeWidth: 0, lastShowIndex: 0 };
|
var res = { computeWidth: 0, lastShowIndex: 0 };
|
||||||
columns.forEach(function (col, index) {
|
columns.forEach(function (col, index) {
|
||||||
//如果列显示
|
//如果列显示
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -159,7 +159,7 @@ export default class ColumnManager {
|
||||||
this._cached = {};
|
this._cached = {};
|
||||||
}
|
}
|
||||||
getColumnWidth(contentWidth){
|
getColumnWidth(contentWidth){
|
||||||
let columns = this.groupedColumns();
|
let columns = this.leafColumns();
|
||||||
let res={computeWidth:0,lastShowIndex:0};
|
let res={computeWidth:0,lastShowIndex:0};
|
||||||
columns.forEach((col,index)=>{
|
columns.forEach((col,index)=>{
|
||||||
//如果列显示
|
//如果列显示
|
||||||
|
|
Loading…
Reference in New Issue