Demo

Infinite scrolling

Documented in Infinite scrolling.

Infinite scrolling

50,000 remote orders read in blocks of 100 as the viewport approaches unloaded rows. The first 300 rows are seeded with initialResult and render on the server; unloaded rows show loading rows; with cache and maxBlocks 6 the farthest blocks are evicted; sorting resets to the top; a button loads the next block; another adds an order at the bottom, which lands after the last row.

Order
Customer
Country
Product
Qty
Amount
ORD-10000
Ines Duarte
Portugal
Green tea
12
$94.35
ORD-10001
Goran Petrov
Germany
Kettle
10
$616.55
ORD-10002
Chen Wei
Malaysia
Espresso beans
9
$158.17
ORD-10003
Hana Sato
Malaysia
Kettle
6
$330.99
ORD-10004
Farah Aziz
Germany
Grinder
4
$464.40
ORD-10005
Farah Aziz
Portugal
Filter beans
11
$130.90
ORD-10006
Jun Park
France
Filter beans
12
$168.00
ORD-10007
Elif Kaya
Germany
Kettle
9
$584.10
ORD-10008
Ines Duarte
Japan
Filter beans
8
$106.40
ORD-10009
Goran Petrov
Portugal
Pour-over kit
4
$168.00
ORD-10010
Farah Aziz
France
Green tea
5
$41.63
ORD-10011
Aiko Tan
Japan
Kettle
1
$61.66
ORD-10012
Farah Aziz
Germany
Espresso beans
5
$92.50
ORD-10013
Elif Kaya
France
Green tea
3
$26.36
ORD-10014
Bao Nguyen
Germany
Kettle
7
$408.87
ORD-10015
Farah Aziz
Japan
Filter beans
8
$112.00
ORD-10016
Goran Petrov
France
Kettle
1
$61.66
ORD-10017
Jun Park
France
Grinder
8
$928.80
ORD-10018
Farah Aziz
Portugal
Oolong tea
3
$38.25
ORD-10019
Jun Park
France
Green tea
4
$31.45

300 of 50,000 rows in memory · 0 requests · 0 aborted · 0 evicted

No events yet.