Is it possible to use Tables without a Model? #595
-
lets say the data comes from a json api result.... thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @michabbb I think you need to create your own custom list view, there are 2 ways
The first way, you can achieve with this // open your terminal and slap this code
php artisan backpack:publish crud/list after that you can start to do what you want, you can start to manipulate that file to achieve what you need The second way you can achieve just with this line $this->crud->setListView('path.to.your.view'); Put that code inside your setupListOperation, after that just copy the backpack list.blade in I would say to choose the second way because I think you need just for a few pages, I hope you get this idea. If you want i can try to create the custom view and back with the updates here, do you have example data, so I can use it to try to make the custom view😉 Cheers. |
Beta Was this translation helpful? Give feedback.
-
you can try laravel sushi to make a "fake model" it is from the creator of livewire |
Beta Was this translation helpful? Give feedback.
you can try laravel sushi to make a "fake model"
it is from the creator of livewire