VirtualScrolling

Example of Virtual Scrolling in ASP.NET Core Tree Grid Control

Tree Grid
Scrolling
Virtual Scrolling

This sample demonstrates the TreeGrid component with the virtual scrolling feature. Scroll the TreeGrid content vertically to load rows.

1
VINET
196939789
2
TOMSP
1968409100
3
HANAR
1969410101
4
VICTE
197240092
5
SUPRD
197240392
6
HANAR
1972413104
7
CHOPS
196939789
8
QUEDE
1974415106
9
RATTC
197640796
10
ERNSH
197840698
11
FOLKO
1977418109
12
BLONP
1978419110
13
OTTIK
196939789
14
QUICK
1980421112
15
VINET
1981422113
16
MAGAA
1984412104
17
TORTU
1984415104
18
MORGK
1984425116
19
WARTH
196939789
20
QUICK
1986427118
21
QUICK
1988419108
22
RICAR
1990418110
23
REGGC
1989430121
24
BSBEV
1990431122
25
RATTC
196939789
26
BLONP
1992433124
27
HUNGO
1993434125
28
RICAR
1996424116
29
MAGAA
1996427116
30
WANDK
1996437128
31
BERGS
196939789
32
HUNGO
1998439130
33
THEBI
2000431120
34
DUMON
2002430122
35
WANDK
2001442133
36
QUICK
2002443134
37
LEHMS
196939789
38
ISLAT
2004445136
39
PERIC
2005446137
40
KOENE
2008436128
41
SAVEA
2008439128
42
KOENE
2008449140
43
COMMI
196939789
44
WARTH
2010451142
45
VICTE
2012443132
46
HUNGO
2014442134
47
PRINI
2013454145
48
FRANK
2014455146
49
LILAS
196939789
50
QUICK
2016457148
51
RATTC
2017458149
52
FAMIA
2020448140
53
VINET
2020451140
54
TOMSP
2020461152
55
SUPRD
196939789
56
HILAA
2022463154

The TreeGrid UI virtualization allows you to render only rows visible within the view-port without buffering the entire datasource. To enable the virtualization, set enableVirtualization property as true.

By default, enableVirtualMaskRow is set to true. we can change by setting enableVirtualMaskRow property to false.

Note: The height property must be defined when enabling enableVirtualization.

In this demo, Tree Grid is enabled with row virtualization and also perform the CRUD (Add, Edit, Delete, Update) actions.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab