Comments (7)
In http://github.com/mleisher/Horton (very similar to FooTable), the Escape key clears the filter input field.
from footable.
check out the changes made to the filtering extension
It now takes into account the escape key and I also allow you to clear the filter from your own custom event. So in the filtering demo, I added a "x" link next to the filter which clears the filter. So you can do something similar to do your reset button
$('.clear-filter').click(function(e) {
e.preventDefault();
$('table').trigger('footable_clear_filter');
});
from footable.
@rzea thanks for the heads up about the typo on my page - it is corrected now
from footable.
Sorry for my late reply.
I checked your filtering demo but I don't see the "x" link you mentioned: http://themergency.com/footable-demo/demo-filtering.htm
Did I miss something?
Thanks.
from footable.
@rzea I have not updated the live demos on my site yet - check out the latest code, it is in there
from footable.
Got it, will check. Thanks again.
EDIT--
@bradvin Resetting the input field with the ESC
key works great man, thanks a million for implementing.
EDIT 2--
OFFTOPIC: Your Encoder/Decoder extension for Chrome is a godsend, thanks for that as well. Twitted about it.
from footable.
@rzea cool - glad you like the chrome extension too - I was sick of having to visit websites to decode/encode URLs and HTML
from footable.
Related Issues (20)
- Multiple dropdown filters HOT 1
- Footable v3 - Button only fired first Page
- Get footable object HOT 2
- What to sponsor this project HOT 2
- server side paginating HOT 3
- bootstrap 4 support please!
- Hide columns once moved to small devices HOT 1
- collapse all rows on load HOT 1
- Append new row when api detect income data
- Exact Query with space in filter on dropdown
- Footable with jQuery 3.x is very slow - with 2.x is fast HOT 1
- Deactivate footable to <tr>
- Abandoned? HOT 2
- Search a string with "_" and "-" does not work
- Search values with "&" inside
- Thousands comma separator not showing HOT 2
- i am using footable with raw html , i want to add new button to each row but the buttons couldnt track the event handlers neither the post request ! HOT 1
- Redraw table, data has changed
- footable bug in rowupdating event HOT 1
- React issue: Each child in a list should have a unique "key" prop. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from footable.