5.20202.699
wijmo.grid Class HitTestInfo Wijmo API Class

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.

edgeFarRight

edgeFarRight: boolean

Gets a value that indicates whether the mouse is very near the right 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.

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

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

    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