Browse Source

go through the visible data not through the whole data to prevent index (#4406)

issues
Dustin Utecht 6 years ago
parent
commit
ab7c9a31a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -2448,7 +2448,7 @@ class BootstrapTable {
     }
 
     const rows = []
-    this.options.data.forEach((row, i) => {
+    this.data.forEach((row, i) => {
       if (!row.hasOwnProperty(obj.field)) {
         return false
       }