leninpardo / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Ability to set an autorefresh time #131

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
So developers can specify a set time (in seconds) before the JSON / XML call is 
resent (same as clicking refresh).

Original issue reported on code.google.com by cyborg10...@gmail.com on 10 Jul 2012 at 5:24

GoogleCodeExporter commented 8 years ago
If I create a flexigid, how can I call the populate() function outside of the 
div?

Something like $('#flex1').grid.populate() I can then set up a timer to 
autorefresh.

Original comment by cyborg10...@gmail.com on 11 Jul 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Without changing the code, you can add 

setInterval("$('#flex1').flexReload()",5000);

Original comment by cyborg10...@gmail.com on 11 Jul 2012 at 10:44