javascript - Kendo UI grid not refresh automatically in Internet Explorer -


i created project using kendo ui grid, works in chrome , mozilla. grids can refresh automatically. in explorer, can't! first time (when page open first time) datasource work (script), datasource not work in refresh time.

this 2 scenario, grid can not refresh:

  1. when return "edÄ°tpage", can see updated values in grid. in chrome , mozilla, can see.
  2. i have automatic refresh command named setinterval, grid can not refresh again in explorer. can refresh in chrome , mozilla.

        setinterval(function () {         $("#grid").data("kendogrid").datasource.read();     }, 10000);    /// not work!    $(document).ready(function () {       $("#grid").kendogrid({                     sortable: true,                     pageable: {                         input: true,                         numeric: false,                         buttoncount: 5,                         pagesizes: true                     },                     autobind: true,                     height: 500,                     selectable: "row",                     datasource: {                         pagesize: 5,                         transport: {                             read: "/home/getdata",   //// here works 1 time in explorer. it's not work. change page , come again not work.                             type: "json"                         }, schema: {                             data: "data",                             total: "total"                         },                         serverpaging:true                     },                     change: function (e) {                         var item = this.dataitem(this.select());                         win.content(template(item));                         win.open();                     },  rowtemplate: kendo.template($("#rowtemplate").html()),altrowtemplate: kendo.template($("#alttemplate").html())                 }).data("kendogrid"); 

some questions first. version of ie using? version of kendoui web using? have checked network tab in dev tools see if there's 500 err when load grid?

are binding setinterval() event? suspect need attach document ready function. see this example.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -