You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a situation where I need to run through and map a collection of paginated models to add in or remove attributes that need to be displayed in my table. I don't believe you can just map a paginated collection as a normal collection and keep the pagination.
I have come up with this, but wonder if there is a better way?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a situation where I need to run through and map a collection of paginated models to add in or remove attributes that need to be displayed in my table. I don't believe you can just map a paginated collection as a normal collection and keep the pagination.
I have come up with this, but wonder if there is a better way?
It is then called like this, with a similar syntax to normal collection mapping.
Beta Was this translation helpful? Give feedback.
All reactions