Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread JSON format Required to populate dataset
Mon, Jun 4 2012 12:31 AMPermanent Link

cwsymons

Hi,
 I need to establish what is format the data needs to be returned to the EWB ServerRequest Component so that the LoadRows method can be called.  I know the "columns" method call returns the following

http://localhost/vendors?method=columns
{"columns": [{"name":"john","type":"string"}, {"name":"peter","type":"string"}]}

What is the format of a dataset such that it can be passed to "LoadRows"?

TIA

Craig Symons
Mon, Jun 4 2012 2:41 AMPermanent Link

Rick

<cwsymons> wrote in message
news:BE22FD2C-444B-4B95-881D-4A762CE90D8C@news.elevatesoft.com...
>  I need to establish what is format the data needs to be returned to the
> EWB ServerRequest Component so that the LoadRows method can be called.  I
> know the "columns" method call returns the following
>
> http://localhost/vendors?method=columns
> {"columns": [{"name":"john","type":"string"},
> {"name":"peter","type":"string"}]}
>
> What is the format of a dataset such that it can be passed to "LoadRows"?
>
>

Craig, something like the following:

{"rows":[{"john":"value1","peter":"value2"},{"john":"value3","peter":"value4"}]}

--
Rick

Mon, Jun 4 2012 5:59 PMPermanent Link

cwsymons

"Rick" wrote:

<cwsymons> wrote in message
news:BE22FD2C-444B-4B95-881D-4A762CE90D8C@news.elevatesoft.com...
>  I need to establish what is format the data needs to be returned to the
> EWB ServerRequest Component so that the LoadRows method can be called.  I
> know the "columns" method call returns the following
>
> http://localhost/vendors?method=columns
> {"columns": [{"name":"john","type":"string"},
> {"name":"peter","type":"string"}]}
>
> What is the format of a dataset such that it can be passed to "LoadRows"?
>
>

Craig, something like the following:

{"rows":[{"john":"value1","peter":"value2"},{"john":"value3","peter":"value4"}]}

--
Rick

Thanks Rick
Image