how to use dhtmlxgrid_keymap_excel.js

hi,



ive downloaded the latest version of dhtmlxgrid…



i tried using dhtmlxgrid_keymap_excel.js by stating *     * in my jsp…I only added the file into codebase/ext, i am still using the older version of dhtmlxgrid…1.4 or 1.3, im not sure…i am using the older version because i have modified some codes there…



as someone told me from a previous question that by using this file it would make use of keys excel-like…for example when i select a cell and type, it would automatically open the cell for editing and enter what i have keyed…



should it be triggered still?how?



many thanks…

should it be triggered still?how?
Unfortunately it will not work with previous versions of gird. The grid 1.5 has changed key-event processing code, which allow to create separate key_maps, but this will not work for previous versions.

If you have latest version of grid, you can locate “doKey” method in dhtmlxtrid.js ( lines 1365-1398 in latest codebase ) and replace the same method in your version of dhtlmxgrid.js ( also you need to copy the structure “dhtmlXGridObject.prototype._key_events” from the new version of dhtmlxgrid.js ( lines 5600+ ) to older one. Such updates will enable external keymaps support.