如何将xml子节点映射到jqgrid
现在,我需要在主网格本身(而不是子网格)中使用此信息创建4行(LineItemNo标记的数量) 预期产出:如何将xml子节点映射到jqgrid,xml,jqgrid,xml-parsing,Xml,Jqgrid,Xml Parsing,现在,我需要在主网格本身(而不是子网格)中使用此信息创建4行(LineItemNo标记的数量) 预期产出: xmlReader: { root:"ProtoRequestInfo", row:"ProtoRequest", repeatitems:false } colmodel应该是怎样的?您可以在xmlReader的内部使用行:“ProtoRequest>LineItem”,然后按照前面的问题:使用定义为函数的xmlmap。要读取ProtoReq
xmlReader: {
root:"ProtoRequestInfo",
row:"ProtoRequest",
repeatitems:false
}
colmodel应该是怎样的?您可以在xmlReader
的内部使用行:“ProtoRequest>LineItem”
,然后按照前面的问题:使用定义为函数的xmlmap
。要读取ProtoRequest
的Requestor
,可以使用xmlmap
函数中的方法
xmlReader: {
root:"ProtoRequestInfo",
row:"ProtoRequest",
repeatitems:false
}
No Requestor PartNumber Description
____________________________________________________________________________
84P6-11-00023 Daniel Frank(E677648) 805069-009A Hsg-Comp retouche
84P6-11-00023 Daniel Frank(E677648) 811352-006A hsg comp retouche
...........
...........