|
@@ -152,7 +152,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
for (const columns of columnsArray) {
|
|
for (const columns of columnsArray) {
|
|
|
html.push('<tr>')
|
|
html.push('<tr>')
|
|
|
for (let h = 0; h < columns.length; h++) {
|
|
for (let h = 0; h < columns.length; h++) {
|
|
|
- if (!columns[h].printIgnore) {
|
|
|
|
|
|
|
+ if (!columns[h].printIgnore && columns[h].visible) {
|
|
|
html.push(
|
|
html.push(
|
|
|
`<th
|
|
`<th
|
|
|
${Utils.sprintf(' rowspan="%s"', columns[h].rowspan)}
|
|
${Utils.sprintf(' rowspan="%s"', columns[h].rowspan)}
|
|
@@ -210,7 +210,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (
|
|
if (
|
|
|
- !columns[j].printIgnore && columns[j].field &&
|
|
|
|
|
|
|
+ !columns[j].printIgnore && columns[j].visible && columns[j].field &&
|
|
|
(
|
|
(
|
|
|
!dontRender.includes(`${i },${ j}`) ||
|
|
!dontRender.includes(`${i },${ j}`) ||
|
|
|
(rowspan > 0 && colspan > 0)
|
|
(rowspan > 0 && colspan > 0)
|
|
@@ -234,7 +234,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
|
|
|
|
|
|
|
|
for (const columns of columnsArray) {
|
|
for (const columns of columnsArray) {
|
|
|
for (let h = 0; h < columns.length; h++) {
|
|
for (let h = 0; h < columns.length; h++) {
|
|
|
- if (!columns[h].printIgnore) {
|
|
|
|
|
|
|
+ if (!columns[h].printIgnore && columns[h].visible) {
|
|
|
const footerData = Utils.trToData(columns, this.$el.find('>tfoot>tr'))
|
|
const footerData = Utils.trToData(columns, this.$el.find('>tfoot>tr'))
|
|
|
const footerValue = Utils.calculateObjectValue(columns[h], columns[h].footerFormatter, [data], footerData[0] && footerData[0][columns[h].field] || '')
|
|
const footerValue = Utils.calculateObjectValue(columns[h], columns[h].footerFormatter, [data], footerData[0] && footerData[0][columns[h].field] || '')
|
|
|
|
|
|