Interface IExceptionContext

exception context for optimized non uniform height exceptions

interface IExceptionContext {
    defaultRowHeight: number;
    exceptions: IRowHeightException[];
    exceptionsLookup: IRowHeightExceptionLookup;
    numberOfRows: number;
    padding: ((index) => number);
    totalHeight: number;
}

Properties

defaultRowHeight: number

default height of rows

exceptions: IRowHeightException[]

height exceptions as a list

exceptionsLookup: IRowHeightExceptionLookup

lookup for the height of a given index, if not part of this map it has the default height

numberOfRows: number

number of rows

padding: ((index) => number)

padding between rows, however already included in all heights to have the precise numbers

Type declaration

    • (index): number
    • padding between rows, however already included in all heights to have the precise numbers

      Parameters

      • index: number

      Returns number

totalHeight: number

total height