hosanna-ui-docs - v0.9.0
    Preparing search index...

    GridRowLayout is a specialized implementation of BaseCollectionViewLayout designed to handle grid-based layouts for rows in a collection view. It manages the rendering, focus handling, and layout calculations for grid rows.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cellPadding: number = 0

    Padding between cells.

    cellsByIndex: Record<string, BaseCell.BaseCell> = {}

    Map of cell indices to cell instances.

    cellSize: [number, number] = ...

    Size of each cell as [width, height].

    enabled: boolean = true

    Indicates whether this layout is enabled.

    Injected font manager for font lookups.

    hasHeader: boolean = true
    headerHeight: number = 50

    Height of the header.

    headerLabel: undefined | ISGNLabel

    Header label node, if present.

    instancePool: IInstancePool

    Injected instance pool for cell reuse.

    nodePool: INodePool

    Injected node pool for managing reusable nodes.

    numCols: number = 0

    Number of columns in the row.

    renderedCells: BaseCell.BaseCell[]

    Array of currently rendered cells.

    The row this layout manages.

    The content data for the row.

    rowSettings: undefined | ICollectionViewRowSettings

    The settings for the row.

    screenPosition: number = 0

    The current screen position (y offset).

    viewportHeight: number = 1080

    The height of the viewport for visible rows.

    viewportWidth: number = 1700

    The width of the viewport for visible rows.

    virtualPosition: number

    The current virtual scroll position.

    xOffset: number = 0

    Horizontal offset for content.

    yOffset: number = 0

    The vertical offset for rendering rows.

    Accessors

    Methods