I want to capture data in grid card form instead of table view.
First of all, I'm sorry if Google is doing a rough translation.
What I actually want to do is to pull the data from the database as a card instead of a table and publish it.
I have minimal knowledge on this subject. Can anyone help me?

What I want to do is to show the data in each row of the table as a card and when we click on it, I want it to go to the view screen.
I thank you very much in advance for the friends who will support me.
Hey!
With Voyager you can create your own custom Edit, Add, View views, by default Voyager make use of just one Edit Add View file located in vendors/tcg/voyager/resources/views/bread/edit-add.blade.php.
There is a quick post that goes over this here.
Let say we want to override the Edit Add view for a model called City with table cities (BREAD) we created, then you can follow these steps:
- Create a folder called
vendorin yourviewsfolder - Create a folder called
voyagerin yourvendorfolder - Create a folder for that BREAD in our example its
citiesfolder
Or use this command: mkdir -p resources/views/vendor/voyager/cities
- Then in that directory, create a new file
edit-add.blade.php - Create a new HTML Heading element in
edit-add.blade.phpsaying'override works'. - Copy the default
edit-add.blade.phpinto the new created `edit-add.blade.php to make editing fast
Your folder structure will look like this

This is also applicable to other views also.
Sources:
Then you can modify that new bread view and change the HTML so that it does not show the data in a table but instead renders them in a grid view.
Hope that this helps!
- Bobby
