Calculate number of rows in a model

Louis,

We do have a way to get that count from the JS API. Each Skuid model contains an array named “data,” which contains the rows within in the model. For instance, if your model is named “Contacts,” you can get the number of rows as follows:

skuid.model.getModel('Contacts').data.length

Our skuid.model.Model api documentation contains the official write up. I hope that helps.