RevGrid - v0.10.0
    Preparing search index...

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Accessors

    addToggleSelectionAreaModifierKey addToggleSelectionAreaModifierKeyDoesToggle backgroundAnimateTimeInterval backgroundColor cellEditPossibleCursorName cellFocusedBorderColor cellHoverBackgroundColor cellPadding color columnAutoSizingMax columnClip columnHeaderBackgroundColor columnHeaderFont columnHeaderForegroundColor columnHeaderHorizontalAlign columnHeaderHorizontalAlignId columnHeaderSelectionBackgroundColor columnHeaderSelectionFont columnHeaderSelectionForegroundColor columnHoverBackgroundColor columnMoveDragActiveCursorName columnMoveDragActiveTitleText columnMoveDragPossibleCursorName columnMoveDragPossibleTitleText columnResizeDragActiveCursorName columnResizeDragActiveTitleText columnResizeDragPossibleCursorName columnResizeDragPossibleTitleText columnSortPossibleCursorName columnSortPossibleTitleText columnsReorderable columnsReorderableHideable defaultColumnAutoSizing defaultColumnWidth defaultRowHeight defaultUiControllerTypeNames editable editKey editOnClick editOnDoubleClick editOnFocusCell editOnKeyDown eventDispatchEnabled extendLastSelectionAreaModifierKey filterable filterBackgroundColor filterBackgroundSelectionColor filterCellPainter filterColor filterEditor filterFont filterForegroundSelectionColor fixedColumnCount fixedRowCount font gridRightAligned horizontalAlign horizontalAlignId horizontalFixedLineColor horizontalFixedLineEdgeWidth horizontalFixedLineWidth horizontalGridLinesColor horizontalGridLinesVisible horizontalGridLinesWidth horizontalWheelScrollingAllowed maximumColumnWidth minimumAnimateTimeInterval minimumColumnWidth mouseAddToggleExtendSelectionAreaDragModifierKey mouseAddToggleExtendSelectionAreaEnabled mouseColumnSelectionEnabled mouseColumnSelectionModifierKey mouseLastSelectionAreaExtendingDragActiveCursorName mouseLastSelectionAreaExtendingDragActiveTitleText mouseRowSelectionEnabled mouseRowSelectionModifierKey multipleSelectionAreas primarySelectionAreaType resizeColumnInPlace resizedEventDebounceExtendedWhenPossible resizedEventDebounceInterval rowHoverBackgroundColor rowResize rowStripeBackgroundColor scrollerThickness scrollerThumbColor scrollerThumbReducedVisibilityOpacity scrollHorizontallySmoothly scrollingEnabled secondarySelectionAreaType secondarySelectionAreaTypeSpecifierModifierKey selectionBackgroundColor selectionFont selectionForegroundColor selectionRegionOutlineColor selectionRegionOverlayColor showFilterRow showScrollerThumbOnMouseMoveModifierKey sortOnClick sortOnDoubleClick switchNewRectangleSelectionToRowOrColumn textStrikeThrough textTruncateType textTruncateTypeId useHiDPI verticalFixedLineColor verticalFixedLineEdgeWidth verticalFixedLineWidth verticalGridLinesColor verticalGridLinesVisible verticalGridLinesWidth verticalOffset visibleColumnWidthAdjust visibleVerticalGridLinesDrawnInFixedAndPreMainOnly wheelHFactor wheelVFactor

    Methods

    Constructors

    Accessors

    • get addToggleSelectionAreaModifierKeyDoesToggle(): boolean

      Specifies whether the addToggleSelectionAreaModifierKey toggles. If if does not toggle, then it adds

      Returns boolean

    • set addToggleSelectionAreaModifierKeyDoesToggle(value: boolean): void

      Specifies whether the addToggleSelectionAreaModifierKey toggles. If if does not toggle, then it adds

      Parameters

      • value: boolean

      Returns void

    • get backgroundAnimateTimeInterval(): undefined | number

      Specifies the interval (in milliseconds) between regular calls of requestAnimationFrame to paint grid. Set to undefined for no regular calls of requestAnimationFrame. This is normally not required (undefined) as the grid will automatically detect when a repaint and automatically immediately initiate a repaint. However this can be used to force continuous repaints (set to 0) for debugging purpose. It can also be used when data server invalidate callbacks to grid do not notify all data changes and repaints should be triggered by polling.

      Returns undefined | number

    • set backgroundAnimateTimeInterval(value: undefined | number): void

      Specifies the interval (in milliseconds) between regular calls of requestAnimationFrame to paint grid. Set to undefined for no regular calls of requestAnimationFrame. This is normally not required (undefined) as the grid will automatically detect when a repaint and automatically immediately initiate a repaint. However this can be used to force continuous repaints (set to 0) for debugging purpose. It can also be used when data server invalidate callbacks to grid do not notify all data changes and repaints should be triggered by polling.

      Parameters

      • value: undefined | number

      Returns void

    • get cellEditPossibleCursorName(): undefined | string

      Cursor to display when cell can be edited

      Returns undefined | string

    • set cellEditPossibleCursorName(value: undefined | string): void

      Cursor to display when cell can be edited

      Parameters

      • value: undefined | string

      Returns void

    • get columnClip(): undefined | boolean

      Set up a clipping region around each column before painting cells. This will be interpretted differently by grid painters according to their algorithm

      Returns undefined | boolean

    • set columnClip(value: undefined | boolean): void

      Set up a clipping region around each column before painting cells. This will be interpretted differently by grid painters according to their algorithm

      Parameters

      • value: undefined | boolean

      Returns void

    • get defaultUiControllerTypeNames(): string[]

      Default UiController automatically used by program. Note that order of these in array is important as it defines the order in which UI Events are processed.

      Returns string[]

    • set defaultUiControllerTypeNames(value: string[]): void

      Default UiController automatically used by program. Note that order of these in array is important as it defines the order in which UI Events are processed.

      Parameters

      • value: string[]

      Returns void

    • get editOnDoubleClick(): boolean

      Open cell editor for cell when double clicked by mouse

      Returns boolean

    • set editOnDoubleClick(value: boolean): void

      Open cell editor for cell when double clicked by mouse

      Parameters

      • value: boolean

      Returns void

    • get fixedRowCount(): number

      Number of rows at the top of a scrollable subgrid which will not scroll.

      Returns number

    • set fixedRowCount(value: number): void

      Number of rows at the top of a scrollable subgrid which will not scroll.

      Parameters

      • value: number

      Returns void

    • get gridRightAligned(): boolean

      Instead of visible columns starting from left side of canvas, they end at the right side of canvas So last column is always visible and the first one visible is dependent on the width of the canvas

      Returns boolean

    • set gridRightAligned(value: boolean): void

      Instead of visible columns starting from left side of canvas, they end at the right side of canvas So last column is always visible and the first one visible is dependent on the width of the canvas

      Parameters

      • value: boolean

      Returns void

    • get horizontalFixedLineEdgeWidth(): undefined | number

      Define this property to render just the edges of the lines between non-scrollable rows & scrollable rows, creating a double-line effect. The value is the thickness of the edges. Undefined means no edge effect Typical definition would be 1 in tandem with setting horizontalFixedLineWidth to 3.

      Returns undefined | number

    • set horizontalFixedLineEdgeWidth(value: undefined | number): void

      Define this property to render just the edges of the lines between non-scrollable rows & scrollable rows, creating a double-line effect. The value is the thickness of the edges. Undefined means no edge effect Typical definition would be 1 in tandem with setting horizontalFixedLineWidth to 3.

      Parameters

      • value: undefined | number

      Returns void

    • get horizontalFixedLineWidth(): undefined | number

      Define this property to style rule lines between non-scrollable rows and scrollable rows differently from horizontalGridLinesWidth. Undefine it to show normal grid line in that position.

      Returns undefined | number

    • set horizontalFixedLineWidth(value: undefined | number): void

      Define this property to style rule lines between non-scrollable rows and scrollable rows differently from horizontalGridLinesWidth. Undefine it to show normal grid line in that position.

      Parameters

      • value: undefined | number

      Returns void

    • get minimumAnimateTimeInterval(): number

      The minimum time interval (in milliseconds) between call requestAnimationFrame to paint grid. Set low value for minimum latency. Set high value to reduce resource usage.

      Returns number

    • set minimumAnimateTimeInterval(value: number): void

      The minimum time interval (in milliseconds) between call requestAnimationFrame to paint grid. Set low value for minimum latency. Set high value to reduce resource usage.

      Parameters

      • value: number

      Returns void

    • get mouseAddToggleExtendSelectionAreaEnabled(): boolean

      Allows rectangle selections with more than one cell and/or multiple rectangle selections. If false, then only focused cell is selected

      Returns boolean

    • set mouseAddToggleExtendSelectionAreaEnabled(value: boolean): void

      Allows rectangle selections with more than one cell and/or multiple rectangle selections. If false, then only focused cell is selected

      Parameters

      • value: boolean

      Returns void

    • get primarySelectionAreaType(): "dynamicAll" | "rectangle" | "row" | "column"

      The area type that is added to a selection by default in a UI operation. Can also be specified in API calls which add an area to a RevSelection.

      Returns "dynamicAll" | "rectangle" | "row" | "column"

    • set primarySelectionAreaType(
          value: "dynamicAll" | "rectangle" | "row" | "column",
      ): void

      The area type that is added to a selection by default in a UI operation. Can also be specified in API calls which add an area to a RevSelection.

      Parameters

      • value: "dynamicAll" | "rectangle" | "row" | "column"

      Returns void

    • get rowResize(): boolean

      On mouse hover, whether to repaint the row background and how.

      Returns boolean

    • set rowResize(value: boolean): void

      On mouse hover, whether to repaint the row background and how.

      Parameters

      • value: boolean

      Returns void

    • get rowStripeBackgroundColor(): undefined | string

      Repeating pattern of property overrides for grid rows.

      Returns undefined | string

    • set rowStripeBackgroundColor(value: undefined | string): void

      Repeating pattern of property overrides for grid rows.

      Parameters

      • value: undefined | string

      Returns void

    • get scrollerThickness(): string

      Height or width (depending on orientation) in either pixels (px) or Em (em)

      Returns string

    • set scrollerThickness(value: string): void

      Height or width (depending on orientation) in either pixels (px) or Em (em)

      Parameters

      • value: string

      Returns void

    • get secondarySelectionAreaType(): "dynamicAll" | "rectangle" | "row" | "column"

      The alternative area type that can be added to a selection in a UI operation. Can also be specified in API calls which add an area to a RevSelection.

      Returns "dynamicAll" | "rectangle" | "row" | "column"

    • set secondarySelectionAreaType(
          value: "dynamicAll" | "rectangle" | "row" | "column",
      ): void

      The alternative area type that can be added to a selection in a UI operation. Can also be specified in API calls which add an area to a RevSelection.

      Parameters

      • value: "dynamicAll" | "rectangle" | "row" | "column"

      Returns void

    • get sortOnClick(): boolean

      Column can be sorted with mouse click on column header

      Returns boolean

    • set sortOnClick(value: boolean): void

      Column can be sorted with mouse click on column header

      Parameters

      • value: boolean

      Returns void

    • get sortOnDoubleClick(): boolean

      Sort column on double-click rather than single-click.

      Returns boolean

    • set sortOnDoubleClick(value: boolean): void

      Sort column on double-click rather than single-click.

      Parameters

      • value: boolean

      Returns void

    • get switchNewRectangleSelectionToRowOrColumn(): undefined | "row" | "column"

      If defined, when new rectangle selection areas are added to a selection, they will be converted to a row or column area type as specified by this setting. This allows you to restrict selections to rows or columns.

      Returns undefined | "row" | "column"

    • set switchNewRectangleSelectionToRowOrColumn(
          value: undefined | "row" | "column",
      ): void

      If defined, when new rectangle selection areas are added to a selection, they will be converted to a row or column area type as specified by this setting. This allows you to restrict selections to rows or columns.

      Parameters

      • value: undefined | "row" | "column"

      Returns void

    • get verticalFixedLineEdgeWidth(): undefined | number

      Define this property to render just the edges of the lines between fixed & scrolling columns, creating a double-line effect. The value is the thickness of the edges. Undefined means no edge effect Typical definition would be 1 in tandem with setting verticalFixedLineWidth to 3. verticalFixedLineWidth

      Returns undefined | number

    • set verticalFixedLineEdgeWidth(value: undefined | number): void

      Define this property to render just the edges of the lines between fixed & scrolling columns, creating a double-line effect. The value is the thickness of the edges. Undefined means no edge effect Typical definition would be 1 in tandem with setting verticalFixedLineWidth to 3. verticalFixedLineWidth

      Parameters

      • value: undefined | number

      Returns void

    • get verticalFixedLineWidth(): undefined | number

      Define this property to style rule lines between non-scrollable columns and scrollable columns differently from verticalGridLinesWidth. Undefine it to show normal grid line in that position.

      Returns undefined | number

    • set verticalFixedLineWidth(value: undefined | number): void

      Define this property to style rule lines between non-scrollable columns and scrollable columns differently from verticalGridLinesWidth. Undefine it to show normal grid line in that position.

      Parameters

      • value: undefined | number

      Returns void

    Methods