开发者

Loading Xml to jgrid

开发者 https://www.devze.com 2023-01-18 20:31 出处:网络
i am using jgrid. i am creating a specific XML as per the jgrid format using c#(Castle Monorail). i am sending data to view in string format and pass it to \"url:\" but its not working.

i am using jgrid. i am creating a specific XML as per the jgrid format using c#(Castle Monorail). i am sending data to view in string format and pass it to "url:" but its not working.

but if i m passing the xml file path to the "url:" its workin开发者_开发技巧g and data is showing in the grid.

Is i m doing mistake any where. Should i have to paas data to view in any other format.

Please, Help.


did you use

datatype: 'xmlstring' 

instead of 'xml'

and put your string in

datastr : mystr
0

精彩评论

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