Grid.data.load + Odata

Hi,

I use DHTMLX Suite 7.0 grid.data.load + Odata

I have an OData service which returns the following

{
@odata.context”:"$metadata#itemList"
,“value”:
[
{“ID”:“4.1.3.1”,“Name”:“Process1”,“Description”:null}
,{“ID”:“4.1.3.2”,“Name”:“Process2”,“Description”:null}
,{“ID”:“4.4.2.5”,“Name”:“Process3”,“Description”:null}
,{“ID”:“4.3.3.2”,“Name”:“Process3”,“Description”:null}
]
}

how do i use the grid.data.load method to load the data?
please help me, thank you!

The only solution is to load your dataset to the client-side manually with the ajax:

and fetch only the “value” part to a grid with the parse() method
Something like:

dhx.ajax.get(url).then(function (data) {
   grid.data.parse(data.value)
})