Hello, I try to use ig.RemoteDataSource and property responseDataKey (response in JSON) in IgniteUi 15.2. In many examples in the documentation, the property is used with the values "d" or "d.results". I can not use anything in replacement of "d". example: d.rows: OK d.test: OK data.rows: NOK Apparently this does not work when the root property is not "d". Thanks for your help
Hi GBAU,
It's my understanding that this is the default syntax for when an OData Service returns json. More details regarding this standard is available in the oData Documentation:http://www.odata.org/documentation/odata-version-2-0/json-format/ If you wish to change this, you will need to make the appropriate changes to your service.
I hope this helps. Please let me know if you have additional questions regarding this matter.
Hi,
Thanks for your reply but I'm frightened by your answer. I use a generic object RemoteDataSource, not a ODataRemoteDataSource if it exists. Why when using "results" or "otherKey" directly it works (though not in the OData specifications) while "otherKey1.otherKey2" does not? Thanks