wdev-rs/laravel-datagrid

How to use a plain array as source

Closed this issue · 2 comments

I fetch data from a SOAP interface and want to use its result (array or Collection) as data source.
Is that intended at all, and how can i do it?

Hey @lsblsb,
It is a great idea, I'll add it to the project roadmap. Hopefully I'll find time to do it soon, but every contribution is welcome :)

In the version 0.3.0 you can use array or Collection as a data source. (use the fromCollection or fromArray methods). @lsblsb