我有一个arraylist,其中包含多个不同大小的arraylists。我需要在接受xml输入的jqgrid中填充这些数据。可以做些什么来实现这个目标
答案 0 :(得分:0)
您是否在数据源格式中看到了Wiki?
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#xml_string
这是XML
的格式<invoices>
<request>true</request>
...
<currentpage>1</currentpage>
<totalpages>10</totalpages>
<totalrecords>20</totalrecords>
<result>
<invoice>
<asin>12345</asin>
<invoiceno>data1</invoiceno>
<invoicedate>data2</invoicedate>
<invoiceamount>data3</invoiceamount>
<invoicetax>data4</invoicetax>
<invoicetotal>data5</invoicetotal>
<notes>data6</notes>
</invoice>
...
</result>
</invoices>