|
|
@ -9106,6 +9106,9 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
regionColumnSize: [], |
|
|
|
regionColumnSize: [], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//行表头
|
|
|
|
|
|
|
|
rowHeaderCreator: null, |
|
|
|
|
|
|
|
|
|
|
|
headerCellStyleGetter: BI.emptyFn, |
|
|
|
headerCellStyleGetter: BI.emptyFn, |
|
|
|
summaryCellStyleGetter: BI.emptyFn, |
|
|
|
summaryCellStyleGetter: BI.emptyFn, |
|
|
|
sequenceCellStyleGetter: BI.emptyFn, |
|
|
|
sequenceCellStyleGetter: BI.emptyFn, |
|
|
@ -9142,17 +9145,17 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { |
|
|
|
var newHeader = this._formatColumns(header); |
|
|
|
var newHeader = this._formatColumns(header); |
|
|
|
var deep = this._getHDeep(); |
|
|
|
var deep = this._getHDeep(); |
|
|
|
if (deep <= 0) { |
|
|
|
if (deep <= 0) { |
|
|
|
newHeader.unshift({ |
|
|
|
newHeader.unshift(o.rowHeaderCreator || { |
|
|
|
type: "bi.table_style_cell", |
|
|
|
type: "bi.table_style_cell", |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
newHeader[0] = { |
|
|
|
newHeader[0] = o.rowHeaderCreator || { |
|
|
|
type: "bi.table_style_cell", |
|
|
|
type: "bi.table_style_cell", |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
result.push(newHeader); |
|
|
|
result.push(newHeader); |
|
|
|
} |
|
|
|
} |
|
|
@ -9796,6 +9799,8 @@ BI.LayerTreeTable = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
regionColumnSize: [], |
|
|
|
regionColumnSize: [], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rowHeaderCreator: null, |
|
|
|
|
|
|
|
|
|
|
|
headerCellStyleGetter: BI.emptyFn, |
|
|
|
headerCellStyleGetter: BI.emptyFn, |
|
|
|
summaryCellStyleGetter: BI.emptyFn, |
|
|
|
summaryCellStyleGetter: BI.emptyFn, |
|
|
|
sequenceCellStyleGetter: BI.emptyFn, |
|
|
|
sequenceCellStyleGetter: BI.emptyFn, |
|
|
@ -9831,17 +9836,17 @@ BI.LayerTreeTable = BI.inherit(BI.Widget, { |
|
|
|
var newHeader = this._formatColumns(header); |
|
|
|
var newHeader = this._formatColumns(header); |
|
|
|
var deep = this._getHDeep(); |
|
|
|
var deep = this._getHDeep(); |
|
|
|
if (deep <= 0) { |
|
|
|
if (deep <= 0) { |
|
|
|
newHeader.unshift({ |
|
|
|
newHeader.unshift(o.rowHeaderCreator || { |
|
|
|
type: "bi.table_style_cell", |
|
|
|
type: "bi.table_style_cell", |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
newHeader[0] = { |
|
|
|
newHeader[0] = o.rowHeaderCreator || { |
|
|
|
type: "bi.table_style_cell", |
|
|
|
type: "bi.table_style_cell", |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
text: BI.i18nText("BI-Row_Header"), |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
styleGetter: o.headerCellStyleGetter |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
result.push(newHeader); |
|
|
|
result.push(newHeader); |
|
|
|
} |
|
|
|
} |
|
|
|