[]
        
(Showing Draft Content)

SchedulerHitTestInfo Class

SchedulerHitTestInfo Class

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

Heirarchy

  • SchedulerHitTestInfo

Constructors

Properties

Methods

Constructors

constructor

  • Initializes a new instance of the SchedulerHitTestInfo class.

    Parameters

    • scheduler: FlexScheduler

      The FlexScheduler control to investigate.

    • pt: number | Point | MouseEvent | HTMLElement

      The point, mouse event, or element to investigate.

    • Optional y: number

      The Y coordinate of the point, used when the first parameter is a number.

    Returns SchedulerHitTestInfo

Properties

element

element: Element

Gets the scheduler element matched by the hit test.

hitTestType

Gets the scheduler part type found at the specified position.

point

point: Point

Gets the point in page coordinates that this SchedulerHitTestInfo refers to.

Methods

getHitInfo

  • Gets the public model associated with the hit element.

    Returns CellInfo | ItemInfo | BandInfo | null

    The matched cell, item, or header band, or null when the hit has no model data.