Shivi
Shivi

Reputation: 1085

Loading Xml to jgrid

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 working 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.

Upvotes: 1

Views: 102

Answers (1)

Haim Evgi
Haim Evgi

Reputation: 125526

did you use

datatype: 'xmlstring' 

instead of 'xml'

and put your string in

datastr : mystr

Upvotes: 1

Related Questions