Categories | Question details Back To List | ||
Tabbing in page with windows I have a page whre I create a window attaching a grid. I show this window in modal view but when I tab inside the gris wich is inside the window and I reach the last record I follows tabbing in the parent page. How can I do to only tab inside the window and not continue tabbing in the page? How can I close the window from the grid? I I put this event It checks the event key bay not follows tabbing. grid.attachEvent("onKeyPress",function(){ if (window.event.keyCode==27) { // Escape dhxWins.window("w1").close(); document.getElementById('cmb_receipt').focus(); }); Thans a lot! Answer posted by Support on Nov 18, 2008 08:32 >>and not continue tabbing in the page? You can define any possible target for the tab-out by grid.setExternalTabOrder(obj,obj); where obj - id or object of element, to which focus need to be moved from the grid. >>How can I close the window from the grid? You can use onTab event and check the current selected cell in grid, if it is the last cell - necessary action may be executed. Answer posted by Nerea on Nov 20, 2008 02:52 I have put the event a nd the tab order you suggested. whe I click a button the window opens but tab goes to the first input into the parent not to the fist cell f the grid inside the window. The tab event only tabs into the grid inside the window once. and the goes to first input into the parent. I don't know if the event is the problesm. Here is my code: Functio for the button:
function buscar_Viajes(){
|