MCPcopy Create free account
hub / github.com/microsoft/SandDance / setData

Method setData

docs/tests/v2/es6/js/sanddance.js:153230–153246  ·  view source on GitHub ↗
(data, columns)

Source from the content-addressed store, hash-verified

153228 }
153229
153230 setData(data, columns) {
153231 const differentData = this.data !== data;
153232
153233 if (differentData) {
153234 if (this.data) {
153235 //clean up things we added to old data
153236 this.deselect();
153237 }
153238
153239 this.data = data;
153240 this.columns = columns;
153241 this.filteredData = null;
153242 this.filteredColumnsStats = {};
153243 }
153244
153245 return differentData;
153246 }
153247
153248 setFilteredData(filteredData) {
153249 this.filteredData = filteredData;

Callers 3

sanddance.jsFile · 0.45
padBufferFunction · 0.45
_renderMethod · 0.45

Calls 1

deselectMethod · 0.95

Tested by

no test coverage detected