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
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
Uh oh!
There was an error while loading. Please reload this page.
-
the datasource method output type can be eloquent or query builder
or we can define a collection
but what about pagination?
the
GetPaginatedCountriesAction
is a class in vendor and I do not access to the content of classthe class content is like this
it returns paginated countries list but the powergrid throws exception
datasource(): Return value must be of type Illuminate\Database\Eloquent\Collection, Illuminate\Pagination\LengthAwarePaginator
Beta Was this translation helpful? Give feedback.
All reactions