SpreadJS Documentation
TouchToolStripOpening Event
The x-coordinate of the horizontal position.
The y-coordinate of the vertical position.
If true, the touch toolbar is prevented from popping up; otherwise, the toolbar is displayed at the default position.
Occurs before the touch toolbar pops up.
Syntax
var instance; // Type: Events
instance.TouchToolStripOpening = function(x, y, handled) { };
TouchToolStripOpening = function ( 
   x : number,
   y : number,
   handled : boolean
) { };

Parameters

x
The x-coordinate of the horizontal position.
y
The y-coordinate of the vertical position.
handled
If true, the touch toolbar is prevented from popping up; otherwise, the toolbar is displayed at the default position.
Example
This example uses the TouchToolStripOpening event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.TouchToolStripOpening, function (e, info) {    
        alert(info.x);
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.