Spread ASP.NET 18
Spread for ASP.NET 18 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / RemoveKeyMap
In This Topic
    RemoveKeyMap
    In This Topic

    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 type="text/javascript">
       function setMap() {
           var ss = document.getElementById("FpSpread1");
           if (ss != null){
           ss.RemoveKeyMap(13,true,true,false);
       }
    </script>
    
    See Also