4 Replies
You mean instead of the table just growing in size?
If you use a max-height property it will restrict the height of the object when the content grows beyond that, and then you can use the overflow: scroll; property
overflow-y-scrolli use an external endpoint to display tables in case I want to add pagination
to the table so that on each page it requests an endpoint with a limit of 20.
But the problem is that I don't have the final number of data, So I thought of using scroll. to solve this problem?
It sounds like the problem is purely visual, so it the solution is more of a UX thing than anything? You need to decide if it is a problem or not I think
You're right, I'm trying to find a way to display all the data in the table without having the total number, but I couldn't find a way to do it correctly.