@kanunilabs/datagrid-react / ScrollingConfig
Interface: ScrollingConfig
Defined in: datagrid-core/dist/index.d.ts:866
How the grid consumes a long result.
virtual (default) sizes the scrollbar to EVERY row and renders only the
ones on screen — the scrollbar tells the user how much there is.
infinite shows a growing prefix and appends the next chunk as the user
reaches the end. The scrollbar then describes what has been revealed so far,
not the whole result. Worth it when the total is meaningless to the user (a
feed) or when the first screen must arrive before the count is known; a
misleading scrollbar is the price, which is why it is not the default.
Properties
mode?
optionalmode?:"virtual"|"infinite"
Defined in: datagrid-core/dist/index.d.ts:867
pageSize?
optionalpageSize?:number
Defined in: datagrid-core/dist/index.d.ts:869
Rows revealed per step in infinite mode. Default 100.