jbritten / jquery-tablesorter-filter Goto Github PK
View Code? Open in Web Editor NEWA search/filter plugin which extends the jQuery TableSorter plugin
A search/filter plugin which extends the jQuery TableSorter plugin
I want to use tablesorter_filter.js with TableSorter 2.7.2 This is not work It only work TableSorter 2.0 why?
I think during search $.tablesorter.clearTableBody(table); is work in the TableSorter 2.0 but it is not work in the TableSorter 2.7.2
I use this great tablesorter-filter as a dynamic projectlist that I keep in a mysql database table. I have added columns such as an urgent-function. I display a "urgent-link" in this column, When link i clicked my script sets urgent=1 for this post in my mysql table and then the script reloads the page. Now this row is highlighted. Clicking the posts urgent link once again will set urgent=0 and the poost i sno longer highlighted after reload.
However, when reloading the page I lose all filter and sort data.
I don't know Javascript so I don't know how get the data and send it back to the javscript when reloading the script.
The filter attempts to access table.config.cache - but there is no such variable.
I looked at tablesorter, and cache appears to be a local variable. I tried assigning it to table.config.cache every time it was altered (in tablesorter), and that made the javascript errors go away. I could even trace through the code, and see it building up resultRows. But the display was never updated - it remained as if I had not typed anything into the filter.
I'm afraid I'm a bit out of my depth beyond this point :-(
I don't know if this is relevant, but I am using tablesorter.pager at the same time.
I have put this issue in again, as I accidentally closed it last time, and I can't figure out how to reopen the old one.
table.config.cache is undefined
[Break on this error] var allRows = table.config.cache.row;
On line 75.
When we filter a value its filtering only from the current page not from all pages
when I am using
jquery-1.4.2.min.js
jquery.tablesorter-2.0.3.js
jquery.tablesorter.filer.js
jquery.tablesorter.pager.js
It work fine but when I am change the jquery-1.8.3.min.js the filter not working why?
The filter attempts to access table.config.cache - but there is no such variable.
I looked at tablesorter, and cache appears to be a local variable. I tried assigning it to table.config.cache every time it was altered (in tablesorter), and that made the javascript errors go away. I could even trace through the code, and see it building up resultRows. But the display was never updated - it remained as if I had not typed anything into the filter.
I'm afraid I'm a bit out of my depth beyond this point :-(
Ignores most keystrokes. The few keystrokes it does accept take forever to filter and return control back to the input box.
Hi there,
I use your plugin and that it work so good.
....only one problem: when i add or remove rows in the table this plugin do not refresh the cache.
For example... when i add a new row i use
table.trigger("update");
table.trigger("appendCache");
for refresh tablesorter cache ... but this plugin not work...
anyone can help me?
regards,
tommaso
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.