|
|
|
@ -40,7 +40,17 @@ BI.TableAdaptLayout = BI.inherit(BI.Layout, {
|
|
|
|
|
((columnSize * 100).toFixed(1) + "%") |
|
|
|
|
: (columnSize + (i === 0 ? o.hgap : 0) + o.hgap + o.lgap + o.rgap); |
|
|
|
|
} |
|
|
|
|
if (columnSize === "" && o.columnSize.indexOf("fill") >= 0) { |
|
|
|
|
function hasFill() { |
|
|
|
|
if (o.columnSize.length > 0) { |
|
|
|
|
return o.columnSize.indexOf("fill") >= 0; |
|
|
|
|
} |
|
|
|
|
return BI.some(o.items, function (i, item) { |
|
|
|
|
if (item.width === "fill") { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
if ((BI.isNull(columnSize) || columnSize === "") && hasFill()) { |
|
|
|
|
width = 2; |
|
|
|
|
} |
|
|
|
|
if (!this.hasWidget(this._getChildName(i))) { |
|
|
|
|