Browsing Dataset with Buttons

Hey,

I’m getting started with Wix+Velo and following tutorials I was able to mockup a lot of what I need from datasets (filtering, searching…)
Now I’m on my own trying to figure out this basic function and I’m stuck. I could not find a similar example.

I want my buttons to browse my dataset.
Previous and Next row.

I know there is next() and previous() but how do I ‘‘connect’’ the buttons to this #table so they are working together?

I feel it’s so easy but I cannot figure it out.
Any help is appreciated and if you can point me to a direction I’ll probably figure out
Thanks a lot

For your setup you even do not need any coding.

  1. Create a new page.
  2. Add a REPEATER on that page.
  3. Add two buttons to that page (left & right next to the repeater).
  4. Add a DATASET to your page.
  5. Connect first your DATASET with the DATABASE of your choice.
  6. Connect the REPEATER with the DATASET.
  7. Create an text-element inside the repeater.
  8. Connect the text-element with the dataset.
  9. Connect your “previous” - “next” -button with the dataset (choosing the right options).

Your SETUP now would look something like the following…


GOOD LUCK !!!