Displaying more rows in Repeating Panel

What I am trying to do

I am trying to get this repeating panel to display more rows, and display the right user’s “time off” (which is based on the login user), with the latest “From Date” to be at the top. This is from the users perspective and not Admin’s.

What I’ve tried and what’s not working:

# Adding time_offs table to this page
    time_offs = app_tables.time_off_requests.search(q.page_size(5),tables.order_by("From_Date",ascending=False),User=self.user_name.text)
    self.repeating_panel_time_off.items = time_offs

What am I doing wrong?

Clone link:
share a copy of your app

Look for “rows per page” in your layout editor:
image

Also see Controlling pagination

Hi @p.colbert , i did that.
image

Still, it is the same. It only displays 3 rows. It also does not let me click on the page controls. The repeating panel is inside a column panel with a card role. Could that be it?

You only have 3 rows in your data table that match the query. How should Anvil display more rows than you actually have? (e.g. what are you expecting it to look like?)

1 Like

Agh, you are right. I am just confused… Let me fix my error. Thank you for pointing out my obvious mistake @jshaffstall