0
I have a system that returns registered clients with tablesorter, but when I edit a user and go back to screen, the filter performed to find a particular group of customers changes, there is some way to save this filter when returning the listing
0
I have a system that returns registered clients with tablesorter, but when I edit a user and go back to screen, the filter performed to find a particular group of customers changes, there is some way to save this filter when returning the listing
1
If you are using a tablesorter version greater than or equal to 2.9 you can save the filter in the browser’s Storage location, then when the page is reloaded, the records remain in the same order. The builder would look like this:
$(function() {
// call the tablesorter plugin
$("table").tablesorter({
theme: 'blue',
// use save sort widget
widgets: ["saveSort", "zebra"],
widgetOptions: {
// enable/disable saveSort dynamically
saveSort: true
}
});
});
Here is an example:
https://mottie.github.io/tablesorter/docs/example-widget-savesort.html https://mottie.github.io/tablesorter/docs/
Browser other questions tagged php mysql
You are not signed in. Login or sign up in order to post.