Skip to main content

virtualView()

virtualView(length, renderer, verticalScroll, maxColumns): VirtualView

Creates a virtual list widget. Example: https://public.datagrok.ai/js/samples/ui/views/virtual-view

Parameters

ParameterTypeDefault valueDescription
lengthnumberundefinednumber of elements
renderer(index) => HTMLElementundefined
verticalScrollbooleantruevertical or horizontal scrolling
maxColumnsnumber1000maximum number of items on the non-scrolling axis

Returns

VirtualView

Source

ui.ts:617