msegura Posted September 6, 2014 Posted September 6, 2014 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
Administrators Farshad Mohajeri Posted September 6, 2014 Administrators Posted September 6, 2014 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.
msegura Posted September 6, 2014 Author Posted September 6, 2014 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. http://dev.sencha.com/deploy/ext-4.0.1/examples/grid/row-editing.html Thank you very much for your work and for your help.
Recommended Posts