diff --git a/dist/bundle.js b/dist/bundle.js index 2066147fa7..5fd76eaba2 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -84486,17 +84486,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter diff --git a/dist/case.js b/dist/case.js index 4145bc573e..f898f2afe1 100644 --- a/dist/case.js +++ b/dist/case.js @@ -12013,17 +12013,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter diff --git a/dist/fineui.js b/dist/fineui.js index ae3e376ef5..09a2349389 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -84729,17 +84729,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { var c = [crossHeader[row]]; result.push(c.concat(node || [])); }); + var rowHeaderCreator = BI.isFunction(o.rowHeaderCreator) ? o.rowHeaderCreator() : o.rowHeaderCreator; if (header && header.length > 0) { var newHeader = this._formatColumns(header); var deep = this._getHDeep(); if (deep <= 0) { - newHeader.unshift(o.rowHeaderCreator || { + newHeader.unshift(rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter }); } else { - newHeader[0] = o.rowHeaderCreator || { + newHeader[0] = rowHeaderCreator || { type: "bi.table_style_cell", text: BI.i18nText("BI-Row_Header"), styleGetter: o.headerCellStyleGetter