Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handsOnTable.selectCell(row, col);
}
}
var searchTimeout;
this.searchHandler = function (event) {
if(searchTimeout) clearTimeout(searchTimeout);
setTimeout(function() {
handsOnTable.search.query(event.target.value);
handsOnTable.render();
}, 500)
}
var searchField = document.getElementById("search-field");
Handsontable.Dom.addEvent(searchField, "keydown", this.searchHandler);
};
HTMLRenderer.prototype = Object.create(Renderer.prototype, {});
HTMLRenderer.prototype.constructor = HTMLRenderer;
HTMLRenderer.prototype.addResult = function(suite, test, result) {
this.resultList.push({ suite: suite, test: test, result: result || {} });
};
HTMLRenderer.prototype.destroy = function() {
var searchField = document.getElementById("search-field");
Handsontable.Dom.removeEvent(searchField, "keydown", this.searchHandler)
this.handsOnTable.destroy();
d3.select("#grid").selectAll("*").remove();
}
HTMLRenderer.prototype.done = function() {
var columnHeads = this.columnHeads;
var rows = this.rows;