Categories | Question details Back To List | ||
Dhtmlx Grid Load with Xml Problem Dear Sir, I trying to load the grid with my xml file. It Contains data like this. <?xml version="1.0" standalone="yes"?> <NewDataSet> <Typeset> <EVENT>Assign</EVENT> <EVENTTYPE>General</EVENTTYPE> <UNIQUEID>82170P3</UNIQUEID> <VERSION>2</VERSION> <LINKUID>L263864</LINKUID> <EVENTUSER>CCI</EVENTUSER> <EVENTTIME>2009-06-22T12:34:34+05:30</EVENTTIME> <CONTENTDESK /> <BRANCH>1</BRANCH> <NAME>4 workers injured as roof of building</NAME> <NEWSROOM>TheHindu</NEWSROOM> <PRODUCT>TH</PRODUCT> <PUBDATE>18-06-2009</PUBDATE> <ZONE>ALL</ZONE> <EDITION>1</EDITION> <PAGENAME>Front_Pg</PAGENAME> <PAGENO /> <ARTICLE>4 workers injured as roof of building 2</ARTICLE> <LAYOUTDESK>TH_National</LAYOUTDESK> <LAYOUTSTATE>0</LAYOUTSTATE> <RUNNINGPAGENO /> <SECTIONNAME /> <SECTIONNO /> <LASTOPERATOR>cokgg</LASTOPERATOR> <LASTREV>2009-06-22T12:20:18+05:30</LASTREV> <LASTDATAOPERATOR>comvm</LASTDATAOPERATOR> <LASTDATAREV>2009-06-22T12:03:04+05:30</LASTDATAREV> <TYPE>2</TYPE> <SUBTYPE>0</SUBTYPE> </Typeset> I want to fetch the values from the xml file on button click event. I have to add the columns dynamically.I tried with sample code from documentation. But i not able to get the values from the xml. Can u give me sample code for the above xml to start my work. Any help will be greatly appreciated. Thanks a lot. Answer posted by dhxSupport on Jul 06, 2009 05:54 |