Row and column virtualization, scaled scrolling for millions of rows, measured row heights and the server-rendered initial range.
Rows and columns are virtualized by default whenever the grid has a height:
the DOM holds the visible cells plus a small
overscan on each edge, and the header stays sticky while
the body scrolls. Scrolling writes only to the DOM and a renderer
store, never to React state, which is what keeps a
100,000 × 100 grid smooth. A smaller row height shows more rows
per viewport.
virtualization is true by default; an object tunes it and false
renders every row and column. height (default 400 px) sets the viewport;
height="auto" grows the grid with its rows and turns row virtualization
off.
Option
Default
Meaning
rows
true
Row virtualization
columns
true
Column virtualization of the center (unpinned) zone
rowOverscan
5
Rows rendered beyond each edge of the viewport
columnOverscan
2
Center columns rendered beyond each edge
maxScrollHeight
15,000,000 px
Physical scroll height cap; taller content is compressed
Row and column virtualization with a sticky header, overscan settings, a smaller row height, percent widths under column virtualization, and scroll-to-row/column.
#
Value 1
Value 2
Text 3
Value 4
Value 5
Text 6
Value 7
Value 8
Text 9
Value 10
Value 11
Text 12
Value 13
Value 14
Text 15
Value 16
Value 17
Text 18
Value 19
0
17,595
73,603
india-0
89,904
53,726
juliet-0
51,543
54,681
bravo-0
68,199
6,896
juliet-0
8,919
42,947
alpha-0
29,833
3,953
charlie-0
59,401
1
19,690
76,900
golf-1
63,257
93,463
charlie-1
73,180
76,755
delta-1
66,097
4,541
bravo-1
17,543
8,514
echo-1
35,140
25,990
juliet-1
39,531
2
59,295
35,017
charlie-2
9,491
78,361
echo-2
97,760
84,967
charlie-2
33,456
62,943
alpha-2
96,517
65,225
foxtrot-2
22,349
49,286
charlie-2
6,173
3
35,877
55,968
alpha-3
7,608
53,800
foxtrot-3
23,732
38,972
charlie-3
25,902
12,898
echo-3
46,117
4,168
alpha-3
52,853
77,546
alpha-3
86,219
4
34,311
61,050
hotel-4
22,377
63,353
bravo-4
74,018
13,961
india-4
56,331
42,367
foxtrot-4
45,663
88,442
charlie-4
55,558
63,841
juliet-4
44,597
5
91,410
88,735
india-5
4,726
46,755
foxtrot-5
18,912
53,583
foxtrot-5
52,092
75,215
india-5
37,385
87,851
charlie-5
65,715
66,738
charlie-5
57,729
6
19,681
45,767
juliet-6
81,684
43,403
delta-6
67,496
63,555
hotel-6
84,296
25,267
charlie-6
32,699
84,878
juliet-6
90,775
18,986
charlie-6
26,037
7
54,528
24,961
bravo-7
38,898
11,936
bravo-7
24,376
70,956
india-7
13,850
376
foxtrot-7
21,286
80,591
foxtrot-7
29,490
66,515
hotel-7
56,516
8
60,869
8,446
charlie-8
75,901
69,947
juliet-8
51,390
69,049
juliet-8
56,014
71,245
charlie-8
72,266
55,207
india-8
6,795
52,120
charlie-8
8,427
9
75,855
9,597
alpha-9
47,126
22,101
foxtrot-9
88,095
69,323
hotel-9
28,224
13,727
bravo-9
50,639
78,507
india-9
34,637
37,497
foxtrot-9
1,229
10
58,099
68,722
bravo-10
13,363
50,105
charlie-10
8,700
37,059
delta-10
89,294
81,549
bravo-10
14,399
84
delta-10
41,206
1,699
delta-10
28,123
11
44,095
65,059
charlie-11
27,571
63,118
echo-11
76,276
46,620
charlie-11
85,845
43,610
echo-11
61,207
22,517
india-11
52,089
96,035
hotel-11
79,839
12
87,775
14,793
echo-12
53,666
21,185
charlie-12
71,766
90,493
charlie-12
81,970
56,085
golf-12
76,381
86,883
india-12
50,433
28,788
golf-12
43,415
13
11,378
92,348
juliet-13
50,530
91,535
foxtrot-13
46,779
58,126
hotel-13
74,472
75,706
delta-13
20,782
93,092
foxtrot-13
59,582
68,970
charlie-13
24,546
14
50,747
60,702
delta-14
13,751
21,341
india-14
404
12,918
foxtrot-14
31,446
39,169
foxtrot-14
80,323
80,536
foxtrot-14
74,750
82,895
foxtrot-14
70,528
15
66,303
27,174
foxtrot-15
15,685
41,810
charlie-15
63,343
80,874
echo-15
15,679
9,656
hotel-15
39,314
48,146
bravo-15
39,322
69,568
hotel-15
5,880
16
96,820
6,701
foxtrot-16
19,607
7,853
alpha-16
71,448
63,714
echo-16
38,877
60,995
delta-16
5,792
75,559
juliet-16
73,833
86,485
india-16
32,670
17
60,534
72,931
alpha-17
68,578
91,404
charlie-17
32,260
45,307
foxtrot-17
93,320
87,659
alpha-17
29,270
59,959
alpha-17
439
77,734
alpha-17
33,653
18
91,214
23,934
india-18
51,017
88,074
echo-18
67,009
27,532
hotel-18
78,073
35,746
juliet-18
8,896
53,619
charlie-18
48,670
26,279
hotel-18
88,194
19
31,831
70,702
juliet-19
96,175
27,610
india-19
96,357
50,732
india-19
87,297
19,078
delta-19
49,402
72,108
bravo-19
918
73,850
juliet-19
33,098
Scroll the grid, then read the rendered range: the DOM only holds the viewport plus overscan.
Browsers cap element height at roughly 22 million pixels in some engines.
Beyond virtualization.maxScrollHeight the grid compresses the scroll range
and maps the scroll offset back to row positions, so every row stays
reachable. A percentage height needs a parent with a fixed height;
the grid observes its viewport size.
36 million pixels of rows exceed the browser's element height limit; scaled scroll mapping keeps every row reachable. The grid fills a fixed-height parent.
With estimatedRowHeight (an estimate in px) the grid measures rendered rows and corrects
offsets as it scrolls, so wrapped text and templates can produce
rows of different heights under virtualization. Fixed per-row
heights without measuring come from getRowHeight(row). Row templates are
virtualized too (see Templates).
Rows a remote source has not delivered yet (the unloaded blocks of
infinite scrolling) render as skeleton rows by default
(virtualization.skeletonRows, default true): one shimmering bar per visible column (up to eight), in place of
the loading text, which stays in the row for screen readers. The
row keeps aria-busy="true" and is
replaced by the data row when its block lands; a failed block still shows
the error and Retry, and renderLoadingRow wins over skeleton rows.
The shimmer is a CSS transform on a pseudo-element (no layout or paint per
frame), so scrolling over skeleton rows keeps the scroll budgets and causes
no React commits while the rendered range stays the same. It stops under
prefers-reduced-motion: reduce and in forced colors, where the bars stay
static. Skeleton rows are on by default; a grid with no unloaded rows renders no bars and
runs no animation, and virtualization: { skeletonRows: false } shows the
loading text instead. The first load of a source shows the loading indicator
instead, which has a skeleton variant too (loadingIndicator: 'skeleton',
see Data sources).
<DataGriddata={source}columns={columns}height={400}infiniteScroll/>// The loading text instead of skeleton bars:<DataGriddata={source}columns={columns}height={400}infiniteScrollvirtualization={{skeletonRows:false}}/>
50,000 remote orders read in blocks with 800 ms of latency. With virtualization.skeletonRows the unloaded rows render shimmering skeleton bars until their block lands; turned off they show the loading text. The jump buttons scroll by offset with api.scrollTo.
The server renders a deterministic initial range (the first initialRows
rows and initialColumns center columns, 20 each by default), independent
of the data size; the client hydrates that exact markup
and then measures the real viewport, so no hydration warning results.
Remote group expansion state is preserved across virtual scrolling
(see Grouping).
Aggregates and group counts cover all loaded rows, not only the visible
ones (see Aggregates).
Row spans work with row virtualization: a span whose first row is above
the rendered window, however far above, is drawn from its first row with
that row's value, so spanned and merged cells stay merged at any scroll
position. Explicit rowSpan functions are found through an
anchor index that is built once per data version as rows come into view,
so scrolling never re-reads the rows above the window; see
Row and column spans.
Cell selection works with virtualization: ranges are stored by row id and
column id, so a Shift+click range can start in a row that is no longer
rendered and cover tens of thousands of rows.
Ctrl+Home and Ctrl+End (Cmd+Home and Cmd+End on macOS) move the logical
focus to the first or last cell, then scroll it into view, under row and
column virtualization.
Batch editing works with row and column virtualization: drafts and
delete marks are keyed by row id, keyboard moves scroll the next cell
into view, and a save covers rows that are not rendered (see
Editing).
Pinned columns are excluded from the virtual column range: they stay
rendered while the center columns scroll, and keyboard focus moves
between pinned and center columns.
Column virtualization works with every grid feature, and the column
features act on columns outside the rendered window;
see
Column virtualization compatibility.
Spans, cell ranges and keyboard under virtualization
100,000 rows by 101 columns with pinned start and end columns, a merged Block column whose row spans run through the virtualized rows, cell range selection across unrendered rows, and Ctrl+Home / Ctrl+End to unrendered corners.
#
Block
Value 1
Value 2
Text 3
Value 4
Value 5
Text 6
Value 7
Value 8
Text 9
Value 10
Value 11
Text 12
Value 13
Value 14
Text 15
Value 16
Value 17
Text 18
Value 19
Text 99
0
B0
17,595
73,603
india-0
89,904
53,726
juliet-0
51,543
54,681
bravo-0
68,199
6,896
juliet-0
8,919
42,947
alpha-0
29,833
3,953
charlie-0
59,401
golf-0
1
19,690
76,900
golf-1
63,257
93,463
charlie-1
73,180
76,755
delta-1
66,097
4,541
bravo-1
17,543
8,514
echo-1
35,140
25,990
juliet-1
39,531
alpha-1
2
59,295
35,017
charlie-2
9,491
78,361
echo-2
97,760
84,967
charlie-2
33,456
62,943
alpha-2
96,517
65,225
foxtrot-2
22,349
49,286
charlie-2
6,173
golf-2
3
35,877
55,968
alpha-3
7,608
53,800
foxtrot-3
23,732
38,972
charlie-3
25,902
12,898
echo-3
46,117
4,168
alpha-3
52,853
77,546
alpha-3
86,219
foxtrot-3
4
34,311
61,050
hotel-4
22,377
63,353
bravo-4
74,018
13,961
india-4
56,331
42,367
foxtrot-4
45,663
88,442
charlie-4
55,558
63,841
juliet-4
44,597
bravo-4
5
91,410
88,735
india-5
4,726
46,755
foxtrot-5
18,912
53,583
foxtrot-5
52,092
75,215
india-5
37,385
87,851
charlie-5
65,715
66,738
charlie-5
57,729
hotel-5
6
19,681
45,767
juliet-6
81,684
43,403
delta-6
67,496
63,555
hotel-6
84,296
25,267
charlie-6
32,699
84,878
juliet-6
90,775
18,986
charlie-6
26,037
alpha-6
7
54,528
24,961
bravo-7
38,898
11,936
bravo-7
24,376
70,956
india-7
13,850
376
foxtrot-7
21,286
80,591
foxtrot-7
29,490
66,515
hotel-7
56,516
bravo-7
8
60,869
8,446
charlie-8
75,901
69,947
juliet-8
51,390
69,049
juliet-8
56,014
71,245
charlie-8
72,266
55,207
india-8
6,795
52,120
charlie-8
8,427
india-8
9
75,855
9,597
alpha-9
47,126
22,101
foxtrot-9
88,095
69,323
hotel-9
28,224
13,727
bravo-9
50,639
78,507
india-9
34,637
37,497
foxtrot-9
1,229
hotel-9
10
B1
58,099
68,722
bravo-10
13,363
50,105
charlie-10
8,700
37,059
delta-10
89,294
81,549
bravo-10
14,399
84
delta-10
41,206
1,699
delta-10
28,123
bravo-10
11
44,095
65,059
charlie-11
27,571
63,118
echo-11
76,276
46,620
charlie-11
85,845
43,610
echo-11
61,207
22,517
india-11
52,089
96,035
hotel-11
79,839
echo-11
12
87,775
14,793
echo-12
53,666
21,185
charlie-12
71,766
90,493
charlie-12
81,970
56,085
golf-12
76,381
86,883
india-12
50,433
28,788
golf-12
43,415
india-12
13
11,378
92,348
juliet-13
50,530
91,535
foxtrot-13
46,779
58,126
hotel-13
74,472
75,706
delta-13
20,782
93,092
foxtrot-13
59,582
68,970
charlie-13
24,546
golf-13
14
50,747
60,702
delta-14
13,751
21,341
india-14
404
12,918
foxtrot-14
31,446
39,169
foxtrot-14
80,323
80,536
foxtrot-14
74,750
82,895
foxtrot-14
70,528
juliet-14
15
66,303
27,174
foxtrot-15
15,685
41,810
charlie-15
63,343
80,874
echo-15
15,679
9,656
hotel-15
39,314
48,146
bravo-15
39,322
69,568
hotel-15
5,880
alpha-15
16
96,820
6,701
foxtrot-16
19,607
7,853
alpha-16
71,448
63,714
echo-16
38,877
60,995
delta-16
5,792
75,559
juliet-16
73,833
86,485
india-16
32,670
alpha-16
17
60,534
72,931
alpha-17
68,578
91,404
charlie-17
32,260
45,307
foxtrot-17
93,320
87,659
alpha-17
29,270
59,959
alpha-17
439
77,734
alpha-17
33,653
foxtrot-17
18
91,214
23,934
india-18
51,017
88,074
echo-18
67,009
27,532
hotel-18
78,073
35,746
juliet-18
8,896
53,619
charlie-18
48,670
26,279
hotel-18
88,194
bravo-18
19
31,831
70,702
juliet-19
96,175
27,610
india-19
96,357
50,732
india-19
87,297
19,078
delta-19
49,402
72,108
bravo-19
918
73,850
juliet-19
33,098
echo-19
Click a cell, scroll far away and Shift+click another: the range spans unrendered rows. Ctrl+End (Cmd+End) jumps to the last cell; the pinned columns stay rendered while the center columns scroll.
Only the visible center columns plus a small overscan are in the DOM, but
the engine addresses every column by its column id, so no feature depends on
a column being rendered. All of these work with column virtualization on:
Grouping: the indent and the caption text stay at the start edge while
the columns scroll (see the wide grouping demo on the
Grouping page).
Column spans and stacked headers: a span or a header group that starts
before the rendered slice is still drawn; a header group spans its
rendered leaves (stacked headers virtualize by leaf range).
Batch editing: drafts are keyed by row id and column id, so a draft in a
column that scrolled out of the DOM stays marked and saves.
Row templates (renderRow): the template receives the rendered cells of
the current column window.
Detail templates and hierarchy (renderDetail, childGrid): the detail
row spans every column, and its content, a child grid included, stays in
view and mounted while the parent columns scroll.
Autofill: api.fillSelection() and a fill handle drag that auto-scrolls
past the right edge tile values into columns that were never rendered.
The column features work on columns outside the rendered window:
Resize: api.setColumnWidth() on an unrendered column updates the scroll
width at once, and a pointer resize works wherever the column scrolls to.
Reorder: api.moveColumn(), Alt+ArrowLeft / Alt+ArrowRight on a header
and a header drag move far columns.
Autofit and Autofit All: widths are measured in an offscreen measurer
from the header text and the formatted values of the rows in the rendered
row window, read from the engine rather than from rendered cells, so a
never-rendered column fits to the same width as a rendered one (a column
with a renderCell template also reads its rendered cells).
Print: the print projection renders every visible column and row of the
scope without virtualization.
Clipboard: a copied range writes every column of the range to the TSV,
using the same display text as a rendered cell.
Grouping from the column menu: the Group and Ungroup items work on any
column, including one opened with api.openColumnMenu() while it is not
rendered.
2,000 rows by 81 columns under stacked headers with column virtualization on; resize, reorder, autofit, grouping from the column menu, batch editing, the fill handle, detail rows, copy and print reach columns that were never rendered.
Drag a column header here to group by that column
Details
#
Block 1
Block 2
Value 1
Value 2
Value 3
Text 4
Value 5
Value 6
Value 7
Text 8
Value 9
Value 10
Value 11
Text 12
Value 13
Value 14
Value 15
Text 16
Value 17
Value 18
Value 19
Text 20
0
17,595
73,603
45,158
echo-0
53,726
16,619
51,543
bravo-0
31,751
68,199
6,896
juliet-0
8,919
42,947
17,490
delta-0
3,953
29,152
59,401
foxtrot-0
1
19,690
76,900
61,866
hotel-1
93,463
94,562
73,180
foxtrot-1
83,423
66,097
4,541
bravo-1
17,543
8,514
25,374
alpha-1
25,990
99,179
39,531
foxtrot-1
2
59,295
35,017
94,312
bravo-2
78,361
71,884
97,760
hotel-2
92,292
33,456
62,943
alpha-2
96,517
65,225
98,675
juliet-2
49,286
86,372
6,173
hotel-2
3
35,877
55,968
57,980
india-3
53,800
6,435
23,732
charlie-3
55,742
25,902
12,898
echo-3
46,117
4,168
46,360
delta-3
77,546
52,280
86,219
hotel-3
4
34,311
61,050
44,047
hotel-4
63,353
21,111
74,018
bravo-4
2,858
56,331
42,367
foxtrot-4
45,663
88,442
18,922
india-4
63,841
99,499
44,597
alpha-4
5
91,410
88,735
74,658
golf-5
46,755
56,675
18,912
delta-5
32,985
52,092
75,215
india-5
37,385
87,851
28,592
foxtrot-5
66,738
97,852
57,729
golf-5
6
19,681
45,767
73,389
echo-6
43,403
56,183
67,496
foxtrot-6
21,827
84,296
25,267
charlie-6
32,699
84,878
26,599
foxtrot-6
18,986
56,562
26,037
hotel-6
7
54,528
24,961
38,431
india-7
11,936
50,641
24,376
golf-7
97,848
13,850
376
foxtrot-7
21,286
80,591
47,465
alpha-7
66,515
94,067
56,516
alpha-7
8
60,869
8,446
49,322
bravo-8
69,947
64,419
51,390
juliet-8
52,799
56,014
71,245
charlie-8
72,266
55,207
52,688
foxtrot-8
52,120
11,142
8,427
charlie-8
9
75,855
9,597
43,970
golf-9
22,101
46,205
88,095
delta-9
69,727
28,224
13,727
bravo-9
50,639
78,507
5,028
hotel-9
37,497
61,185
1,229
india-9
10
58,099
68,722
3,361
delta-10
50,105
27,752
8,700
juliet-10
1,343
89,294
81,549
bravo-10
14,399
84
55,273
golf-10
1,699
79,543
28,123
india-10
11
44,095
65,059
1,852
bravo-11
63,118
44,844
76,276
alpha-11
74,092
85,845
43,610
echo-11
61,207
22,517
92,208
juliet-11
96,035
6,007
79,839
india-11
12
87,775
14,793
76,034
golf-12
21,185
27,812
71,766
delta-12
92,132
81,970
56,085
golf-12
76,381
86,883
30,508
delta-12
28,788
87,436
43,415
foxtrot-12
13
11,378
92,348
9,959
alpha-13
91,535
47,115
46,779
golf-13
87,297
74,472
75,706
delta-13
20,782
93,092
91,985
charlie-13
68,970
90,332
24,546
delta-13
14
50,747
60,702
55,973
bravo-14
21,341
82,448
404
india-14
48,055
31,446
39,169
foxtrot-14
80,323
80,536
59,725
alpha-14
82,895
76,495
70,528
echo-14
15
66,303
27,174
1,625
foxtrot-15
41,810
79,332
63,343
echo-15
45,524
15,679
9,656
hotel-15
39,314
48,146
64,961
charlie-15
69,568
10,327
5,880
juliet-15
16
96,820
6,701
24,855
hotel-16
7,853
70,290
71,448
echo-16
53,334
38,877
60,995
delta-16
5,792
75,559
94,089
delta-16
86,485
69,998
32,670
foxtrot-16
17
60,534
72,931
69,390
india-17
91,404
96,772
32,260
hotel-17
93,445
93,320
87,659
alpha-17
29,270
59,959
30,860
juliet-17
77,734
66,360
33,653
india-17
18
91,214
23,934
15,798
hotel-18
88,074
94,164
67,009
charlie-18
44,557
78,073
35,746
juliet-18
8,896
53,619
53,222
alpha-18
26,279
65,477
88,194
charlie-18
19
31,831
70,702
11,699
foxtrot-19
27,610
6,908
96,357
charlie-19
78,908
87,297
19,078
delta-19
49,402
72,108
76,191
india-19
73,850
64,799
33,098
hotel-19
Scroll sideways: only the visible columns render, yet autofit, copy, print, grouping and the fill handle cover all 80 columns.