SpreadJS Documentation
processMouseDown Method
The hit test information returned by the getHitInfo method. See the Remarks for more information.
Processes mouse down in display mode.
Syntax
var instance = new GcSpread.Sheets.BaseCellType();
var value; // Type: boolean
value = instance.processMouseDown(hitInfo);
function processMouseDown( 
   hitInfo : object
) : boolean;

Parameters

hitInfo
The hit test information returned by the getHitInfo method. See the Remarks for more information.

Return Value

Returns true if the process is successful; otherwise, false.
Remarks

The hitInfo parameter can include the following items:

Item Type Description
hitInfo.x number x-coordinate of pointer's current location relative to the canvas.
hitInfo.y number y-coordinate of pointer's current location relative to the canvas.
hitInfo.row number The row index.
hitInfo.col number The column index.
hitInfo.cellRect GcSpread.Sheets.Rect instance The current cell's layout information.
hitInfo.sheetArea GcSpread.Sheets.SheetArea The current sheet area.
hitInfo.isReservedLocation boolean Whether the hit test is in a special area that the cell type needs to handle.
hitInfo.sheet GcSpread.Sheets.Sheet instance Indicates the current sheet.
hitInfo.isEditing boolean Whether the current cell is being edited.

 

See Also

Reference

BaseCellType type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.