diff --git a/dist/bundle.js b/dist/bundle.js index 7db0a7744e..fc0be55bfe 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -87578,7 +87578,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -87796,9 +87796,10 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", + height: this._getHeaderHeight() - 2, styleGetter: o.headerCellStyleGetter, text: BI.i18nText("BI-Number_Index") }, @@ -103296,7 +103297,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -103379,7 +103380,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", styleGetter: o.headerCellStyleGetter, diff --git a/dist/demo.js b/dist/demo.js index c250a33de9..2cf231e66c 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -4667,15 +4667,17 @@ BI.shortcut("bi.detail_table_header", BI.DetailTableHeader);Demo.Face = BI.inher sequence: { type: "bi.sequence_table_list_number", pageSize: 100, - sequenceHeaderCreator: { - type: "bi.normal_sequence_header_cell", - styleGetter: function () { - return { - background: "rgb(4, 177, 194)", - color: "#ffffff", - fontWeight: "bold" - }; - } + sequenceHeaderCreator: function () { + return { + type: "bi.normal_sequence_header_cell", + styleGetter: function () { + return { + background: "rgb(4, 177, 194)", + color: "#ffffff", + fontWeight: "bold" + }; + } + }; } }, itemsCreator: function (op, populate) { @@ -4769,6 +4771,7 @@ BI.NormalSequenceHeaderCell = BI.inherit(BI.Widget, { type: "bi.label", element: this, textAlign: "left", + height: o.height, forceCenter: true, hgap: 5, text: BI.i18nText("BI-Number_Index") diff --git a/dist/fineui.js b/dist/fineui.js index 34d8de14ec..7562b32932 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -87821,7 +87821,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -88039,9 +88039,10 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", + height: this._getHeaderHeight() - 2, styleGetter: o.headerCellStyleGetter, text: BI.i18nText("BI-Number_Index") }, @@ -103539,7 +103540,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -103622,7 +103623,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", styleGetter: o.headerCellStyleGetter, diff --git a/dist/widget.js b/dist/widget.js index e9cf95da59..3da69f6d03 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -15,7 +15,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -233,9 +233,10 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", + height: this._getHeaderHeight() - 2, styleGetter: o.headerCellStyleGetter, text: BI.i18nText("BI-Number_Index") }, @@ -15733,7 +15734,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { headerRowSize: 25, rowSize: 25, - sequenceHeaderCreator: null, + sequenceHeaderCreator: BI.emptyFn, header: [], items: [], // 二维数组 @@ -15816,7 +15817,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { type: "bi.absolute", element: this.headerContainer, items: [{ - el: o.sequenceHeaderCreator || { + el: o.sequenceHeaderCreator() || { type: "bi.table_style_cell", cls: "sequence-table-title-cell", styleGetter: o.headerCellStyleGetter,