MCPcopy Index your code
hub / github.com/microsoft/SandDance / setData

Method setData

docs/app/js/sanddance-app.js:10476–10487  ·  view source on GitHub ↗
(data, columns)

Source from the content-addressed store, hash-verified

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 = {};

Callers 4

_renderMethod · 0.45
sanddance-app.jsFile · 0.45
DataColumn1Function · 0.45
Resource1Function · 0.45

Calls 1

deselectMethod · 0.95

Tested by

no test coverage detected