David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

Each row of mapped data creates new grid

Hi -

I am using Rest service to tie to a mobile backend, and the data comes back fine, works great, very cool... But, I have mapped the data to a grid control, and for each row of data, it creates a new grid instead of adding rows to the single grid...

What am I doing wrong?

thanks,

David

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Each row of mapped data creates new grid

Can you attach a screen shot service mapping?

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

Each row of mapped data creates new grid

hi, I figure you all are working on this...

but, btw, data is using parse... not sure if something in the response is goofing up the grid? should I try something else?

thanks,

David

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Each row of mapped data creates new grid

That's actually the correct markup. It's done this way becuase of how the visual editor works. Doing it row based - it's not easy to know which rows you would like to iterate over, and what rows should be rendered as it is (and what is shown between them).

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

Each row of mapped data creates new grid

So, you can't actually map data to a grid? How do I map rows of data to a grid so it doesn't make multiple grids? This seems like an obvious example to have for users...

I assumed I have to tell each column what to map to and I assumed I map to the grid as well... so what do I need to remove to make it work?

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

Each row of mapped data creates new grid

I don't think you understood the issue in the first place, I literally have (5) rows of data, and for each row of data it spews out (1) grid, thus I have (5) redundant grids, when this thing should just give me (1) grid with 5 rows...

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

Each row of mapped data creates new grid

This is a problem... can you please explain how I map to a grid then?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Each row of mapped data creates new grid

You can easily map data to a grid, most of our tutorials show how to do that: http://help.gotiggr.com/getting-started. Instead of generating:

code
<table>
<tr><&#47;tr>
&#46;&#46;&#46;
&#46;&#46;&#46;
<tr><&#47;tr>
<&#47;table>
/code

you get:

code
<table>
<&#47;table>
&#46;&#46;&#46;
&#46;&#46;&#46;
<table>
<&#47;table>
/code

Return to “Issues”