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