|
|
@@ -1470,7 +1470,7 @@ class BootstrapTable {
|
|
|
// show no records
|
|
|
if (!hasTr) {
|
|
|
this.$body.html(`<tr class="no-records-found">${Utils.sprintf('<td colspan="%s">%s</td>',
|
|
|
- this.$header.find('th').length,
|
|
|
+ this.getVisibleFields().length,
|
|
|
this.options.formatNoMatches())}</tr>`)
|
|
|
} else {
|
|
|
if (!this.options.virtualScroll) {
|