开发者

How to add XML datasource Summary Grid?

开发者 https://www.devze.com 2023-03-13 10:00 出处:网络
I am new to EXT.js and trying to use XML feed instead of an array is there any example on how to add xml feed to this instead of array to this \"Summary Grid Example\" . http://dev.sencha.com/deploy/e

I am new to EXT.js and trying to use XML feed instead of an array is there any example on how to add xml feed to this instead of array to this "Summary Grid Example" . http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/group-summary-grid.html

And开发者_运维问答 I want be broken up into groups as in the example..How can I go about adding xml feed to replace the arrays?

Thanks in advance


XML or Arrays as the data type that feeds a grid is really a property of the grid's store. That data is given to the grid as records of the store, so its just the store's reader that cares about the incoming data type. Therefore, you should be able to use this example to put XML data in a store, which can be used by a grid:

http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/xml-grid.html

0

精彩评论

暂无评论...
验证码 换一张
取 消