Component used as a template to render items in the list. Must implement DisplayGridItem interface.
Optional
classThe className
applied to the outer container element. Use when styling the entire component.
Number of columns in the grid
Horizontal offset to start of displayed content
Implementation of ItemOffsetMapping interface that defines size and offset to each column in the grid
Use useFixedSizeItemOffsetMapping or useVariableSizeItemOffsetMapping to create implementations for common cases.
Component height
Optional
innerThe className
applied to the inner container element. Use for special cases when styling only the inner container and items.
Optional
innerRenders the inner grid div containing all the list items
Render prop implementing VirtualContainerRender. Used to customize display component inner container.
Optional
isPassed as DisplayBaseItemProps.isScrolling to each child item
Provided as a convenience when combining display components with VirtualScroll Not interpreted by the display component itself
Optional
itemPassed as DisplayBaseItemProps.data to each child item
Optional
itemFunction that defines the key to use for each item given row and column index and value of DisplayBaseProps.itemData.
Optional
outerRenders the outer viewport div which provides a window onto the inner grid div
Render prop implementing VirtualContainerRender. Used to customize display component outer container.
Number of rows in the grid
Vertical offset to start of displayed content
Implementation of ItemOffsetMapping interface that defines size and offset to each row in the grid
Use useFixedSizeItemOffsetMapping or useVariableSizeItemOffsetMapping to create implementations for common cases.
Component width
Props accepted by DisplayGrid