Interface IExceptionContext

exception context for optimized non uniform height exceptions

interface IExceptionContext {
    defaultRowHeight: number;
    exceptions: IRowHeightException[];
    exceptionsLookup: IRowHeightExceptionLookup;
    numberOfRows: number;
    padding: (index: number) => 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) => number

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

totalHeight: number

total height