How to load XML data in jQueryEasyUI treegrid

473 Views Asked by At

I have recently started using easyUI tree grid,which by default easyui consume json .Could any one please provide me with a sample to load an XML data through a link to xml file or URL.

1

There are 1 best solutions below

0
On

Hi i think u have XML data in the Array format then u can create JSON data using associated array and then use

var Data=JSON.stringify(AssociatedArrayData); var finalData=JSON.parse(Data);

finalData contains json format data.