(data, columns)
| 10474 | this.filteredColumnsStats = {}; |
| 10475 | } |
| 10476 | setData(data, columns) { |
| 10477 | const differentData = this.data !== data; |
| 10478 | if (differentData) { |
| 10479 | if (this.data) //clean up things we added to old data |
| 10480 | this.deselect(); |
| 10481 | this.data = data; |
| 10482 | this.columns = columns; |
| 10483 | this.filteredData = null; |
| 10484 | this.filteredColumnsStats = {}; |
| 10485 | } |
| 10486 | return differentData; |
| 10487 | } |
| 10488 | setFilteredData(filteredData) { |
| 10489 | this.filteredData = filteredData; |
| 10490 | this.filteredColumnsStats = {}; |
no test coverage detected