I am working on to display JSON data into jQgrid . And able to displayed it properly .
Able to display data when response like :
{“page”:”1″,”total”:3,”records”:”22″,”rows”:[{“id”:”1″,”cell”:[“1″,”test
name”,”Owner1″]},{“id”:”2″,”cell”:[“2″,”new test name”,”Owner2″]}]}
But having the issue when the name updated with the ‘<>’ and jQgrid will not displayed the name and shows the empty name value
{“page”:”1″,”total”:3,”records”:”22″,”rows”:[{“id”:”1″,”cell”:[“1″,”<test
name>”,”Owner1″]},{“id”:”2″,”cell”:[“2″,”<new test name>”,”Owner2″]}]}
I have one way to do this that will replace this character at the time of fetching value from DB . But its not appropriate .
I am searching for the javascript or jQgrid function to display this name value or convert before load .
Let me know if you have any idea .
Thanks in Advance
You should use autoencode: true option of jqGrid.