Our blazing fast Grid component built with pure JavaScript


Post by henrique »

I was reading the documentation and couldn't find a component for hotkeys.

My question is whether there is a component where I set up a key like F2, and every time i user presses that key, a function executed.

Is there such a thing?


Post by Animal »

Yes, it's not documented for some reason, but a Widget can be configured like this:

            keyMap : {
                'F2' : 'onF2Keypress'
            }

And you implement onF2Keypress in your widget class


Post Reply