How can you set up the grid, so that when the user tabs, only editable cells are in the tab order?
Thanks. It works great for me :)
But don't forget about mine =)
With the help of mleevisiphor and Chandradeep from the support i came to a solution that solved my problem. Here's the code i used:
function KeyDown(gridName, cellId, key) { var grid = igtbl_getGridById(gridName); var cell = igtbl_getCellById(cellId); if((cell.Index == (grid.Bands[0].Columns.length - 1)) && key == 13) var aNovaRow = cell.getRow().commit(); aNovaRow = aNovaRow.getNextRow(true); var aNovaCelula = aNovaRow.getCell(0); aNovaCelula.activate(); }
Thank you all for the help!
I started playing with the CSOM events provided for the webcombo
MLongin said: So I started trying this route, and realized I also use webcombos that seem to have non fully implemented onkeydown events. When the event is fired, the keycode is not passed. Anyway to determine which keycode is fired in a webcombo?
So I started trying this route, and realized I also use webcombos that seem to have non fully implemented onkeydown events. When the event is fired, the keycode is not passed. Anyway to determine which keycode is fired in a webcombo?
The best I can come up as an idea would be to study the rendered html of a WebCombo and try to add the onkeydown to something in the rendered html. How are you hooking up to the onkeydown event right now?