Ajax DataGrid Support Product Page

Answered

grid refresh

Asked 18 Jun 2013 19:14:51
1
has this question
18 Jun 2013 19:14:51 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 19 Jun 2013 09:23:50
19 Jun 2013 09:23:50 Teodor Kuduschiev replied:
Hello,

Please provide a link to your page.
Replied 19 Jun 2013 19:14:06
19 Jun 2013 19:14:06 Michael Bosquez replied:
I did some hand coding and got a page refresh to work. Thanks.

Reply to this topic