Gets the Header that is located at the specified point.
Namespace: MindFusion.Diagramming.Lanes
File: Grid.js
JavaScript Copy Code |
---|
function getHeaderFromPoint (point, headerBounds, scrollPosition) |
A Point instance specifying a point within the grid.
An object that receives the coordinates of the found header in its headerBounds field.
Point. When the headers are hooked this parameter should provide information about the current scroll position in the view.
The found Header object, or null if there is no header located at the specified point.
The following example illustrates how to find the header at a specific position as well as its bounding rectangle:
JavaScript Copy Code |
---|
var boundsResult = {}; |