F
Filament2mo ago
Shaza

Vertical Scrolling on table

how i can add a Vertical Scrolling on table?
4 Replies
dannyduberstein
dannyduberstein2mo ago
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-scroll
Shaza
ShazaOP2mo ago
i 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?
dannyduberstein
dannyduberstein2mo ago
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
Shaza
ShazaOP2mo ago
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.

Did you find this page helpful?