Spread for ASP.NET 8.0 Product Documentation
RemoveKeyMap

This method allows you to remove an assigned action from a mapped keyboard key.

Syntax

[JavaScript]

FpSpread1.RemoveKeyMap(keycode,ctrl,shift,alt);

Parameters

keycode
Integer, key being pressed
ctrl
Boolean, Control key
shift
Boolean, Shift key
alt
Boolean, Alt key

Return Type

None

Remarks

This method allows you to remove an action from a mapped key.

Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

JavaScript
Copy Code
<SCRIPT language=javascript>
   function setMap() {
       var ss = document.getElementById("FpSpread1");
       if (ss != null){
       ss.RemoveKeyMap(13,true,true,false);
   }
</SCRIPT>
See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback