Type alias HitTestResult

HitTestResult: {
    column: number;
    height: number;
    region: CellRegion | "void";
    row: number;
    width: number;
    x: number;
    y: number;
}

An object which holds the result of a grid hit test.

Type declaration

  • Readonly column: number

    The column index of the cell that was hit.

    This is -1 for the void region.

  • Readonly height: number

    The height of the cell.

    This is -1 for the void region.

  • Readonly region: CellRegion | "void"

    The region of the data grid that was hit.

  • Readonly row: number

    The row index of the cell that was hit.

    This is -1 for the void region.

  • Readonly width: number

    The width of the cell.

    This is -1 for the void region.

  • Readonly x: number

    The X coordinate of the mouse in cell coordinates.

    This is -1 for the void region.

  • Readonly y: number

    The Y coordinate of the mouse in cell coordinates.

    This is -1 for the void region.