Page 1 of 1

How to append service results to the grid, instead of replacing current rows?

Posted: Thu Mar 28, 2013 5:50 pm
by Marcelo

is it possible to append rest service results to the grid, instead of replacing current rows?


How to append service results to the grid, instead of replacing current rows?

Posted: Thu Mar 28, 2013 6:08 pm
by Kateryna Grynko

Hi Marcelo,

After you map array to Grid, all the Grid content will be replaced when invoking Rest Service. New rows can't be added to Grid.


How to append service results to the grid, instead of replacing current rows?

Posted: Thu Mar 28, 2013 6:11 pm
by Marcelo

Thanks for confirming it, Katya. That's what I thought.


How to append service results to the grid, instead of replacing current rows?

Posted: Tue Jul 22, 2014 3:00 am
by bahar.wadia

Ok.

If I wanted to append service results, how would I do that?


How to append service results to the grid, instead of replacing current rows?

Posted: Tue Jul 22, 2014 8:58 am
by Kateryna Grynko

Hi Bahar,

There are two ways to do it:

1) Use an extra Grid for service results.
2) Save all service results in a variable, add a pre-set data to it and pass this variable in a Generic service.

I would recommend that you use the first way.