in src/sampleSlicer.ts [455:484]
private updateInternal(categoryIdentityChanged: boolean): void {
// convert data to internal representation
let searchInputValue = (<HTMLInputElement>this.searchInput)
? (<HTMLInputElement>this.searchInput).value
: "",
data = SampleSlicer.converter(
this.dataView,
searchInputValue,
this.behavior.scalableRange,
this.visualHost,
this.jsonFilters
);
if (!data) {
this.tableView.empty();
return;
}
this.slicerData = data;
this.settings = this.slicerData.slicerSettings;
if (this.slicerBody) {
this.slicerBody.style('height', `${this.currentViewport.height - 120}px`);
}
this.updateTableView(categoryIdentityChanged);
this.updateRangeSlicer();
}