[]
        
(Showing Draft Content)

Wijmo_Grid.Hittestinfo

HitTestInfo Class

Contains information about the part of a FlexGrid control at a given position on the page.

Heirarchy

  • HitTestInfo

Constructors

constructor

Properties

cellType

cellType: CellType

Gets the type of cell found at the specified position.

col

col: number

Gets the index of the column at the specified position.

To get the Column object, use the getColumn method.

edgeBottom

edgeBottom: boolean

Gets a value that indicates whether the mouse is near the bottom edge of the cell.

edgeFarBottom

edgeFarBottom: boolean

Gets a value that indicates whether the mouse is very near the bottom edge of the cell.

edgeFarLeft

edgeFarLeft: boolean

Gets a value that indicates whether the mouse is very near the left edge of the cell.

edgeFarRight

edgeFarRight: boolean

Gets a value that indicates whether the mouse is very near the right edge of the cell.

edgeFarTop

edgeFarTop: boolean

Gets a value that indicates whether the mouse is very near the top edge of the cell.

edgeLeft

edgeLeft: boolean

Gets a value that indicates whether the mouse is near the left edge of the cell.

edgeRight

edgeRight: boolean

Gets a value that indicates whether the mouse is near the right edge of the cell.

edgeTop

edgeTop: boolean

Gets a value that indicates whether the mouse is near the top edge of the cell.

grid

grid: FlexGrid

Gets the FlexGrid that this HitTestInfo refers to.

mergedRange

mergedRange: CellRange | null

Gets the merged status of the cell.

Returns cell range if merged otherwise return null.

panel

panel: GridPanel

Gets the GridPanel that this HitTestInfo refers to.

point

point: Point

Gets the point in control coordinates that this wijmo.grid.HitTestInfo refers to.

range

range: CellRange

Gets the cell range at the specified position.

row

row: number

Gets the index of the row at the specified position.

To get the Row object, use the getRow method.

target

target: Element

Gets the target element used to create this HitTestInfo.

Methods

correctionForNegativeFrozen

  • correctionForNegativeFrozen(position: Point): void
  • Position correction when located in the frozen area at the right or at the bottom

    Parameters

    Returns void

getColumn

  • getColumn(binding?: boolean): Column
  • Gets the Column object at the specified position.

    To get the column index, use the col property.

    Parameters

    • Optional binding: boolean

      Whether to get the column by index or by binding. This parameter only makes a difference in grids that have multiple rows per data item (like the MultiRow grid).

    Returns Column

getRow

  • getRow(): Row
  • Gets the Row object object at the specified position.

    To get the row index, use the row property.

    Returns Row