Question Kendo UI Grid - JSON format

Hi,

I am trying to load the data from Progress to a Kendo Grid. Data is not loading into the grid.
My format JSON out put as follows.

callback({"rows": [
{
"customer_number": "x-X",
"customer_name": "XXX",
"customer_group": "",
"customer_email": "",
"sales_group": "XX",
"master_group": "XX"
}]}
)

When I checked the Kendo UI example I saw the format as

callback([
{
"EmployeeId":2,
"FullName":"Andrew Fuller",
"HasEmployees":true,
"ReportsTo":null
}]
)
Above JSON data is loading fine in the grid.

Only difference I noticed in first json output is an exra {"rows": in the begining & } at the end.

My question is will this be a cause of not loading my data to the grid ? I am using write-json progress function . If that is the casue How can I avoid that unwanted piece ? Please advise.

TIA
-Philip-
 

mollyfud

Member
Hi Philip,
I believe in the very near future Progress will be releasing some better support for OpenEdge JSDO's to work with Kendo UI as a supported transport. If you search the progress communities (http://bit.ly/1Fpo1If) for JSDO and Kendo UI, you should find some of the earlier demo work on the idea. When implemented, it will have most of the behaviours that other Kendo UI transports/datasources have.

HTH
Molly
 
Top