BlogPlaygroundOne

Data table - Virtual tables

The v-data-table-virtual component relies on all data being available locally. But unlike the standard data-table it uses virtualization to only render a small portion of the rows. This makes it well suited for displaying large data sets. It supports sorting and filtering, but not pagination.


API

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

Examples

Basic example

Boat Type
Speed(knots)
Length(m)
Price($)
Year
Speedster #03522$300,0002021
OceanMaster #12535$500,0002020
Voyager #22045$700,0002019
WaveRunner #34019$250,0002022
SeaBreeze #42831$450,0002018
HarborGuard #51850$800,0002017
SlickFin #63324$350,0002021
StormBreaker #72238$600,0002020
WindSail #81555$900,0002019
FastTide #93720$280,0002022
Speedster #103522$300,0002021
OceanMaster #112535$500,0002020
Voyager #122045$700,0002019
WaveRunner #134019$250,0002022
SeaBreeze #142831$450,0002018
HarborGuard #151850$800,0002017
SlickFin #163324$350,0002021
StormBreaker #172238$600,0002020
WindSail #181555$900,0002019
FastTide #193720$280,0002022
Speedster #203522$300,0002021
OceanMaster #212535$500,0002020
Voyager #222045$700,0002019
WaveRunner #234019$250,0002022
SeaBreeze #242831$450,0002018

When customizing rows with the #item slot, you must bind the provided itemRef to your <tr>. This ensures that the virtual scroller can correctly measure and recycle rows.

100 items
400 items
800 items
ID
Title
Name
Email
Role
1Mr.James Smithjames.smith@gmail.comOwner
2Ms.Mary Johnsonmary.johnson@yahoo.comManager
3Dr.Robert Williamsrobert.williams@outlook.comBoard Member
4Mrs.Patricia Brownpatricia.brown@hotmail.comDeveloper
5Mr.John Davisjohn.davis@gmail.comDesigner
6Ms.Jennifer Garciajennifer.garcia@yahoo.comManager
7Mr.Michael Millermichael.miller@outlook.comOwner
8Mrs.Linda Martinezlinda.martinez@hotmail.comDeveloper
9Dr.William Rodriguezwilliam.rodriguez@gmail.comBoard Member
10Ms.Elizabeth Hernandezelizabeth.hernandez@yahoo.comDesigner
11Mr.David Lopezdavid.lopez@outlook.comManager
12Mrs.Barbara Gonzalezbarbara.gonzalez@hotmail.comOwner
13Mr.James Smithjames.smith@gmail.comOwner
14Ms.Mary Johnsonmary.johnson@yahoo.comManager
15Dr.Robert Williamsrobert.williams@outlook.comBoard Member
16Mrs.Patricia Brownpatricia.brown@hotmail.comDeveloper
17Mr.John Davisjohn.davis@gmail.comDesigner
18Ms.Jennifer Garciajennifer.garcia@yahoo.comManager
19Mr.Michael Millermichael.miller@outlook.comOwner
20Mrs.Linda Martinezlinda.martinez@hotmail.comDeveloper
21Dr.William Rodriguezwilliam.rodriguez@gmail.comBoard Member
22Ms.Elizabeth Hernandezelizabeth.hernandez@yahoo.comDesigner
23Mr.David Lopezdavid.lopez@outlook.comManager
24Mrs.Barbara Gonzalezbarbara.gonzalez@hotmail.comOwner
25Mr.James Smithjames.smith@gmail.comOwner

Ready for more?

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