How to pass an argument to the constructor of a RepeatingPanel's item_template?

I usually avoid repeating panels with so many items.

When there are so many items I either use:

  • a DataGrid, which loads them in chunks (assuming we are dealing with a search iterator, I think 100 rows by default, or q.page_size) and renders them in even smaller smaller chunks (the number of items in each page)
  • a LinearPanel, to which I can feed items in small chunks, for example using the AutoScroll custom component
2 Likes