4

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.

1 Answer 1

3

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));
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.