EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 12:20:16 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
auto refresh periodicaly of datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: auto refresh periodicaly of datagrid (Read 34607 times)
putusundika
Newbie
Posts: 13
auto refresh periodicaly of datagrid
«
on:
July 10, 2012, 10:05:50 AM »
how can I make grid auto refresh every 15 sec ?
i want to display almost real time list of order update without pressing button
regards
putu
Logged
anton.dutov
Newbie
Posts: 27
Re: auto refresh periodicaly of datagrid
«
Reply #1 on:
July 11, 2012, 11:15:54 AM »
Quote
$(function() {
function grid_refresh() {
$('tbl_x').datagrid('reload'); // reload grid
setTimeout(grid_refresh, 15000); // schedule next refresh after 15sec
}
$('tbl_x').datagrid({
...
});
grid_refresh();
});
Logged
putusundika
Newbie
Posts: 13
Re: auto refresh periodicaly of datagrid
«
Reply #2 on:
July 12, 2012, 06:24:22 AM »
awesome
thanks
regards
putu
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...