reload page without losing Filter
Posted: 2023-02-08 08:12
is possible to reload table not full refresh? how can i save last filter options? location.reload() clears all filters and as result i have full table
A place where AppGini users can exchange ideas and help each other.
https://forums.appgini.com:443/phpbb/
https://forums.appgini.com:443/phpbb/viewtopic.php?f=8&t=5028
Code: Select all
$j(function(){
setInterval(function(){
$j('table').parent().load('tablename_view.php?SortField=5&SortDirection=desc table', function(){
// do something after reloading the table view
});
}, 10000);
})
D Oliveira wrote: ↑2023-02-08 14:07if you want dynamic control with JS:
https://bigprof.com/appgini/help/advanc ... parametersCode: Select all
$j(function(){ setInterval(function(){ $j('table').parent().load('tablename_view.php?SortField=5&SortDirection=desc table', function(){ // do something after reloading the table view }); }, 10000); })