Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Clear search input and table filter programmatically #9

Closed
WeAreELIC opened this issue Nov 19, 2020 · 1 comment
Closed

Clear search input and table filter programmatically #9

WeAreELIC opened this issue Nov 19, 2020 · 1 comment

Comments

@WeAreELIC
Copy link

WeAreELIC commented Nov 19, 2020

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?

@michapixel
Copy link

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

@vincjo vincjo closed this as completed Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants