svelte-simple-datatables
svelte-simple-datatables copied to clipboard
Clear search input and table filter programmatically
Hey, is there a way to programmatically clear the search input and table results? I'm wanting to add a "clear (x)" icon to the search input (and filter inputs) as well as clear the data when the Escape key is pressed.
It would also be great to be able to change the rows per page via a dropdown. Any quick ideas on how to do that?
setting the value of that (actual) field to an empty string clear the search. you get the idea.
field has an id, just look it (the ID) up with (FF) CTRL+SHIFT+C