Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReactJs Row and Column

Tags:

reactjs

enter image description here

After I fetch the data from database and display it, how to I make it only show 4 columns 2 rows and a nagivation to show other data.

like image 831
Happi Avatar asked Oct 18 '25 12:10

Happi


1 Answers

First you have to implement pagination for showing 8 items per page. And should set the display property of panel style to grid. Reference this Specifying the columns in a grid

{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
like image 194
Dapp Composer Avatar answered Oct 20 '25 01:10

Dapp Composer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!