virtualView()
virtualView(
length
,renderer
,verticalScroll
,maxColumns
):VirtualView
Creates a virtual list widget. Example: https://public.datagrok.ai/js/samples/ui/views/virtual-view
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
length | number | undefined | number of elements |
renderer | (index ) => HTMLElement | undefined | |
verticalScroll | boolean | true | vertical or horizontal scrolling |
maxColumns | number | 1000 | maximum number of items on the non-scrolling axis |