dojo - OnDemandGrid not Loading in IE -


i using ondemandgrid jsonrest store.when hitting xhtml page directly ie ,the grid not loading.i getting script error below

                      line : 0                       char : 0                       error : script error                       code : 0                       url : http://localhost:8080/sample/dgridsample.xhtml 

if use ctlr+f5 grid loading.below javascipt code

                        require([         "dgrid/ondemandgrid",         "dojo/store/jsonrest",         "dojo/dom",         "dojo/dom-style",         "dojo/_base/declare",         "dgrid/extensions/columnresizer"     ], function (ondemandgrid,jsonrest,dom,domstyle,declare,columnresizer) {              jsonstore = new jsonrest({target: url,idproperty: "srno"});             grid = new(declare([ondemandgrid,columnresizer]))({                 store: jsonstore,                 columns: layout,                 minrowsperpage : 40,                 maxrowsperpage : 40,                 keepscrollposition : true,                 loadingmessage: "loading data...",                 nodatamessage: "no results found."             }, "grid");             domstyle.set(dom.byid("grid"),"height","230px");                         grid.startup();         }); 

when put alert,i got undefined message box.

                  alert(grid); // getting undefined                   domstyle.set(dom.byid("grid"),"height","230px"); 

note : works fine in firefox.in ie ctrl+f5 loading grid. can tell why not working in ie?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -