Hi,
I want to refresh grid data after each 10 seconds. Is there any way to do so.
Regards!
Ali
Hi,
I want to refresh grid data after each 10 seconds. Is there any way to do so.
Regards!
Ali
You may try use the setInterval function and call clearAndLoad() method to reload data:
setInterval(function(){ myGrid.clearAndLoad(url) }, 10000);
Dear sematik,
Thanks for your reply, but unfortunately this not the answer I am looking for, I want functionality like append if there is any functionality like that then please help me out.
Regards!
Ali
Unfortunately there is no any specific dhtmlx function that will refresh the data in the component after some time period.
You may use the updateFromXML() method instead of clearAndLoad():
docs.dhtmlx.com/api__dhtmlxgrid_ … omxml.html
Thanks!