Hi,
I am having some issues with tab key when the grid cell is in edit mode.
In the activationCellChanging client script am checking the keyCode to trace some keys.
Am using the method
eventArgs.get_browserEvent().keyCode
This is working for all other keys. But then the tab key is pressed and the cell is in edit mode i got undefined error.
get_browserEvent() is undefined.
When the cell is in the normal mode (non editing) , i got eventArgs.get_browserEvent().keyCode=9
Please let me know what is the issue.
Regards
Jojesh
Hello Jojesh,
I’m currently looking into your issue about TextBoxEditor: default selection behavior.
I’ll let you know what I’ve found out soon.
Dear Zdravko
I have another post here http://ko.infragistics.com/community/forums/p/85195/425159.aspx#425159
Can you help me to solve it
Hi Jojesh,
You need to get the column key of the cell. Then, find the column settings of the cellEditing behavior using that key and check is the get_readOnly(), true. This should be what you want.
I'm glad that I helped you to achieve the desired behavior!
Dear Zdravko,
Thanks for your support and sample.
I got some idea from your example and i could manage to make the desired behavior.
I would like to ask you another thing. Is there any way to identify a particular cell isReadOnly. I want to skip those cells which are not editable when press tab key.
Please let me know whether there is any kind of JavaScript APi to find out a particular cell isReadOnly.
I've made you a sample demonstrating a possible workaround to achieve this functionality, to downwards in columns.
Basically I use JavaScript to move across the cells. I have set the EnableOnActive property, when the cell goes active, directly to go on edit mode:
See the attachment and if you have any other question feel free to ask me!