DVUI

VirtualScroller

Provides vitrual scrolling for a grid so that only the visibile rows are rendered. GridVirtualScroller requires that a scroll_info has been passed as an init_option to the GridBodyWidget. Note: Requires that all rows are the same height for the entire grid, including rows not yet displayed. It is highly recommended to supply the row height to each cell when using the virtual scroller.

Fields

#
grid:*GridWidget
*GridWidget
si:*ScrollInfo
*ScrollInfo
total_rows:usize
usize

Types

#

Functions

#
startRow

Return the first row to render (inclusive)

endRow

Return the end row to render (exclusive)