Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to hook keypress event in inline edit textbox (Read 1993 times)
Kiran B
Full Member
***
Offline


I Love MindFusion!

Posts: 102
Joined: Apr 19th, 2013
How to hook keypress event in inline edit textbox
May 21st, 2013 at 10:33am
Print Post  
Hi,

I need to hook key-press event in the inline edit text box for restricting some invalid characters.

How can i achieve this?

Thanks
Kiran B
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to hook keypress event in inline edit textbox
Reply #1 - May 21st, 2013 at 2:32pm
Print Post  
Hi,

You can get access to the edit box by overriding beginEdit or setInplaceEditBounds method as shown here:
http://mindfusion.eu/Forum/YaBB.pl?num=1367227462

and then add a handler to its keydown event.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint