jqgrid no rows in Edge browser -


i have page use free jqgrid 4.14.0 , use serializegriddata soap request. in ie 11 fine in edge grid has no rows header shown. debugged page , can see soap request , response alright. can give hint how can find out problem or should workaround this. thanx.

the xml data, need parse contains namespace. used escaped strings "rs\\:data" , "z\\:row" parse data.

xmlreader: {     root: "rs\\:data",     row: "z\\:row",     repeatitems: false,     id: "[ows_id]" } 

in demo https://jsfiddle.net/psturm/rugr8tc0/. such way isn't safe depends on version oh jquery, use , web browser, use. recommend use own callback function, required xml nodes. example, can use

xmlreader: {     root: function (node) {         //return node.firstchild.firstchild.firstchild.firstchild.firstchild.firstchild;         return getchildnodesbyname(             node.firstchild.firstchild.firstchild.firstchild.firstchild,             "rs:data")[0];     },     row: function (node) {         return getchildnodesbyname(node, "z:row");     },     repeatitems: false,     id: "[ows_id]" } 

where function getchildnodesbyname is

function getchildnodesbyname (node, name) {     var items = [], children = node.childnodes, ichild, nchildren = children.length;     (ichild = 0; ichild < nchildren; ichild++) {         child = children[ichild];         if (child.nodetype === 1 && child.nodename === name) {             items.push(child);         }     }     return items; } 

the resulting demo seems work in web browsers installed on computer. see modified demo https://jsfiddle.net/olegki/rugr8tc0/7/


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -