In This Topic
- File
- wijmo.grid.js
- Module
- wijmo.grid
Contains information about the part of a FlexGrid control at a given position on the page.
Constructor
Properties
Methods
Constructor
constructor
constructor(grid: any, pt: any): HitTestInfo
- Parameters
-
grid: any
The FlexGrid control, GridPanel, or cell element to investigate.
-
pt: any
The Point object in page coordinates to investigate.
- Returns
- HitTestInfo
Properties
cellType
Gets the type of cell found at the specified position.
- Type
- CellType
col
Gets the index of the column at the specified position.
To get the Column object, use the getColumn method.
- Type
- number
edgeBottom
Gets a value that indicates whether the mouse is near the bottom edge of the cell.
- Type
- boolean
edgeFarBottom
Gets a value that indicates whether the mouse is very near the bottom edge of the cell.
- Type
- boolean
edgeFarRight
Gets a value that indicates whether the mouse is very near the right edge of the cell.
- Type
- boolean
edgeLeft
Gets a value that indicates whether the mouse is near the left edge of the cell.
- Type
- boolean
edgeRight
Gets a value that indicates whether the mouse is near the right edge of the cell.
- Type
- boolean
edgeTop
Gets a value that indicates whether the mouse is near the top edge of the cell.
- Type
- boolean
point
Gets the point in control coordinates that this HitTestInfo refers to.
- Type
- Point
range
Gets the cell range at the specified position.
- Type
- CellRange
row
Gets the index of the row at the specified position.
To get the Row object, use the getRow method.
- Type
- number
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
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