Jump to content

How to caught keys pressed when a dbgrid is in edit mode


msegura

Recommended Posts

Hi Everyone, I'm here fighting against dbgrid.... 

 

Does anybody know how to caught ESC, INTRO and CURSOR keys when a dbgrid is in edit mode and send the key pressed to the server via ajaxRequest? 

 

Thanks for helping. 

 

 

Cheers
Link to comment
Share on other sites

  • Administrators

I'm here fighting against dbgrid..

 

Most of the time you fight things because you are on a wrong path.

 

Catching each single key and sending to server is not a good practice.

 

Going into this much details in a web application is not good. Let the standard Grid do the job for you and it should be OK.

Link to comment
Share on other sites

Hi Farshad,
 
  you are right, web UI is different to desktop UI but sometime it is difficult to change things for users that are used to doing things in a particular way.
 
I'll try to introduce as much changes as I had planned. Less painful for developers and probably the best way for everyone.
 
 
 
Anyway, I'd be happy if it would be possible to achieve the behaviour for edit mode as in the following link. It's an example of extjs4.
 
Thank you very much for your work and for your help.

post-1378-0-64989100-1410039531_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...