Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Coldfusion query to jsGrid, oData

23 views
Skip to first unread message

mrjung...@gmail.com

unread,
Jan 31, 2017, 2:40:34 PM1/31/17
to
Does anyone know how to marshall the data from a CF query so it can be used by jsGrid?

At present, I use serialiseJSON() to convert a query result to json and then try feeding it to jsGrid. The example of jsGrid I am using is the oData example on this page: http://js-grid.com/demos/

The problem as I see it, is that the json packet produced by serialiseJSON() isn't the same 'shape' as the oData packet required by the demo.

So, the question is, how can I marshall my data from CF into oData format?
0 new messages