My data-table
is filled with thousands of data inputs, so I am using the default Vuetify
pagination to display only 5, 10, or 25 items at a time on the table.
However, I am in need of a way to determine which data is currently visible on the table. For example, if I am on page 2 and see data like d6, d7, d8, d9, and d10, I would like to store these items separately from my mainData
list for easy manipulation. The challenge is that I am unsure how to access the data without clicking an action, as well as not knowing the current page or number of displayed items.
If there was a way for me to either detect the loaded items when the data-table
is rendered, or determine the current page and count of displayed items (to calculate which items are shown), it would be perfect. Unfortunately, I am unsure how to achieve either of these tasks.
Is there a solution to identify which items are currently being displayed on the table?