when adding a boolean value from JSON data (e.g. '{…, “isRead”:false, …}' to a TreeGrid cell following exception is thrown:
uncaught exception: Node cannot be inserted at the specified point in the hierarchy (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)
[Break on this error] return jQuery(context).find(selector);}e…ry.clean([container.innerHTML])[0];}else
changing the boolean (false) to a string (“false”) solves the issue.
i debugged the code to the location, which throws the exception:
jqGrid.base.js -> addJSONData() -> … addCell() -> formater() -> EXCEPTION when adding: false instead of “false” (quotes are important!)
thankx
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top