I try to auto refresh my Kendo Grid per 10 seconds. It works in Google Chrome and Firefox, perfectly. However, it's not work in Internet Explorer. Also refresh button which is on the right-bottom of grid, it's not work when I click in Internet explorer. But It's work in Chrome and Firefox. What should I do for Internet Explorer?
function handleDataFromServer() {
$("#grid").data("kendoGrid").dataSource.read();
}
window.setInterval("handleDataFromServer()", 10000);
$(document).ready(function () {
$("#grid").kendoGrid({
sortable: true,
pageable: {
refresh: true,
buttonCount: 5,
pageSizes: true
},
autoBind: true,
dataSource: {
pageSize: 15,
transport: {
read: "/reports/Getdata",
type: "json"
}, schema: {
data: "data",
total: "total"
},
serverPaging:true
},
.....
EDIT : handleDataFromServer()
function is work in Internet Explorer. but $("#grid").data("kendoGrid").dataSource.read();
is not work...