Is It Possible? Model option similar to Excel Export option, "Attempt to Load in All Records Before Export"

  • 1
  • Question
  • Updated 1 year ago
  • Answered
  • (Edited)
Is it possible to leverage a table's excel export option, "Attempt to Load in All Records Before Export" on a model?

Essentially batch loading in model records for the table just like it does for the export, but with more granular control?

Example:
My table displays 100 records at a time, but I want to see all 1000 of my records. Currently I would have to press "Load More" 9 times to view all of my records. It would be awesome if I could press a button and specify the number of records I want to see or the number of batches I want to run. 
Photo of Josef Lagorio

Josef Lagorio

  • 2,852 Points 2k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Josef,

Check the skuid documentation:  https://docs.skuid.com/latest/en/skuid/api/skuid_model_model.html

Search for 'loadall'.

You should be able to adapt this script for your needs.

Thanks,

Bill