PDA

View Full Version : [CLOSED] GridPanel, CheckboxSelectionModel, EnableKeyNav dynamically on the client side



matt
Dec 24, 2014, 10:06 AM
Hi,

Is it possible to enable and disable (switch on/off) keyboard navigation on the client side.
I would like to give that option to the users. Some of them like keyboard navigation, and some don't.

I have already tried to change .enableKeyNav=true/false but it's not enough.
I know how to do it on the server side but that require full page or user control reload.

Thank you in advance.

Matt

Daniil
Dec 24, 2014, 10:37 AM
Hi Matt,

Please use

App.GridPanel1.getSelectionModel().keyNav.disable( );

App.GridPanel1.getSelectionModel().keyNav.enable()

matt
Dec 24, 2014, 11:41 PM
Thank you, Works well.

Daniil
Dec 25, 2014, 9:28 AM
Yes, a new thread for each question would be better.