How to reset or clear all values on HT?

Tags: #<Tag:0x00007f0b08fa88d0>

I need to clean all the values from this table.
Try with:
handleOnReset = () => {
if (this.refHT.current) {
this.refHT.current.hotInstance.loadData([]);
}
};

Hi @gvargash2

There’s a method from the API to clear the values - clear. Here’s a demo https://jsfiddle.net/AMBudnik/47wz8c03/

1 Like