Question

I am new to JQgrid and I am using xml string as data. i create the xml string on the backend and them pass it to the jqgrid.

I want to have some hyperlinks in my xml document but the problem is the jqgrid does not seem to recognize anything inside my cdata tags . I also tried to use xlink but when i include the xlink namespace i.e. as a part of my xmlstring, the grid fails to load !

I have to use xmlstring as otherwise i'll have to change my entire backend.

please help,

thanks

Was it helpful?

Solution

I recommend you to use JSON instead of XML. There are no common way to parse complex XML data in JavaScript inside of web browser. jqGrid uses jQuery internally and jQuery have problems in processing of such simple XML constructs like XML namespaces. So you can't expect that XLink will be processed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top