I am using a jqgrid and have a specific question on the “loadjson” method as to what it does (i could not find it in the documentation even though I understand it is an internal method)
Basically, if I do
$this.get(‘dataAdapter’).loadjson(null, records, source);
I wanted to know does it strip out values which are of type “object”
i.e. imagine if my “records” look like
{
prop1 : “string1”,
prop2 : {}
prop3 : “string3”
}
and if I execute $this.get(‘dataAdapter’).loadjson(null, records, source) and then access
$this.get(‘dataAdapter’).items
my new json looks like
{
prop1 : “string1”,
prop3 : “string3”
}
i.e. properties of type “object” are removed.
Is there some code in loadjson responsible for stripping out “object” values ?