BlogPlaygroundOne

Data table - Server side tables

Server-side Data tables are used for showing data coming from an API.


API

ComponentDescription
v-data-table-serverPrimary Component
Toggle Inline API

Examples

Server-side paginate and sort

To use data from an API, listen to the @update:options event to know when to fetch new data. Use the loading prop to display a progress bar while fetching the data.

Dessert (100g serving)
Calories
Fat (g)
Carbs (g)
Protein (g)
Iron (%)
Frozen Yogurt15962441
Jelly bean37509400
KitKat518266576
Eclair262162367
Gingerbread35616493.916

Loading

You can use the loading prop to indicate that data in the table is currently loading. If there is no data in the table, a loading message will also be displayed. This message can be customized using the loading-text prop or the loading slot.

Loading... Please wait

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.