Add and remove table rows

RohalRohal GermanyMember Posts: 62

Hi,

i have som problem with removing table rows and populating them dynamically.

My table has x rows.
I have a "Loop until function" which checks the tableRowCount and removes the row at the begining.
So far so good.

After that i want to populate this table – based on information from another table.
So i tried to add another "Loop until function" to add x rows. But that doesn't work.

Any idea what could went wrong?
Does anyone have a better approach for resetting an populating a table?

Thanks in advance.
See'ya
Rohal

Comments

  • dougwolfedougwolfe Member, PRO Posts: 1

    Is your intent to populate or reset your whole table? If so, you can use the CopyTable behavior. Documentation for it is here:

    https://help.gamesalad.com/hc/en-us/articles/202455968-2-7-Writable-Tables

  • RohalRohal GermanyMember Posts: 62

    @dougwolfe‌
    Thanks for your help!

    There are two steps i like to perform:

    1. Reset table
      I realized that with a loop and remove row function. It works, but myabe the copyTable behavior is a better way to perform that.

    2. I want to populated the table based on data from a different table.
      That doesn't work at the moment. Is there something special about adding rows with a loop behavior?

    Thanks in advance.

Sign In or Register to comment.