Ok, so what is the difference between data & dataMap and fields&fieldsMap and when would you use them? They seem to be very similar. Thank you
data is an ordered array of the rows in your Model, ordered by whatever “Order By” property you have set on your Model.
fields is an ordered array of the Fields you requested for your Model, ordered by the order in which you added them to the Model.
All of this is described in detail in the API docs for skuid.model.Model