Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to handle multiple Key Press using itemKeyPress function

    Hi,
    Can any one tell me how I can handle multiple Key press in DynamicForm.
    Actually I have a functionality that If user press 'Enter' key then I need to perform a action and if user press 'Shift' + 'Enter' then I should ignore that.

    Code:
    ,itemKeyPress:function(item, keyName, characterValue){
    	if(keyName =="Enter" && characterValue==13){
    		alert("Hi Enter "+ keyName);
    	}
    }
    I think there should be any method which take Array of KeyName can any one please help me to get this requirement.

    Thanks in Advance!!
    Last edited by dilip_gupta; 17 Jul 2011, 23:13.

    #2
    Use EventHandler.shiftKeyDown() to check this condition.

    Comment

    Working...
    X