Ajax DataGrid Support Product Page

Answered

grid refresh

11 years ago Michael Bosquez posted:
Has anyone gotten the grid refresh from the tutorial to work? I have the following in my page, and I call it like the tutorial via onFocus:

function startGridRfresh(id, interval) {
if ($('#' + id).length > 0) {
interval = (isNaN(parseInt(interval)) ? 30 : Math.abs(parseInt(interval || 30))) * 1000;
if (window[id + 'refreshInterval']) window.clearInterval(window[id + 'refreshInterval']);
window[id + 'refreshInterval'] = window.setInterval(
function(){controlAjaxDataGrid(document, id, 'reload');},
interval
);
}
}

Replies

Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello,

Please provide a link to your page.
Replied 11 years ago
11 years ago Michael Bosquez replied:
I did some hand coding and got a page refresh to work. Thanks.

Reply to this topic