Categories | Question details Back To List | ||
setExternalTabOrder() can not do the right thing i want use the tab key in my page for swiching all the html compont including the grid. i use the setExternalTabOrder(startObj, endObj) ,but is not effect when the focus on the startObj,i pass the tab key . then the first row of grid is select , but the startObj doesn't lose his focus, pass the tab key next time , is still call the startObj 's onTab event, not the grid's. so the focus will stop on the startObj. how can i do , here is my HTML <html> <head> <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> <link rel="STYLESHEET" type="text/css" href="../dhtmlxGrid_pro_v16_80512/dhtmlxGrid/codebase/dhtmlxgrid.css"> <script src="../dhtmlxGrid_pro_v16_80512/dhtmlxGrid/sources/dhtmlxcommon.js"></script> <script src="../dhtmlxGrid_pro_v16_80512/dhtmlxGrid/sources/dhtmlxgrid.js"></script> <script src="../dhtmlxGrid_pro_v16_80512/dhtmlxGrid/sources/dhtmlxgridcell.js"></script> <title></title> </head> <body Class="mainBody" style="text-align: left;" onload="goMyGrid.setExternalTabOrder('per','next');"> <!-- ************************************************************************//--> <fieldSet style="width: 60%; font-size: 11pt; "><legend>123</legend> <input type="text" value="" id="next"> <input type="text" value=""> <input type="text" value=""> <input type="text" value="" id="per"> </fieldSet> <BR> <BR> <div id="gridbox" style="height: 100pt;"></DIV> <script type="text/javascript"> <!-- goMyGrid = new dhtmlXGridObject('gridbox'); goMyGrid.imgURL = "../dhtmlxGrid_pro_v16_80512/dhtmlxGrid/imgs/"; goMyGrid.loadXML("result.xml"); --> </script> </body> </html> Answer posted by Support on Dec 01, 2008 02:53 We have created the test sample with the provided code. The "external tab order" works there. The sample is sent by email. Answer posted by shanyp on Dec 01, 2008 16:47 I have got the reason why it does not work in my
page. The whole data in my page are all readonly. (type
is “ro”). When all the data are readonly, it does not work. Answer posted by Support on Dec 02, 2008 02:38 The issue is cofirmed. We have sent the fixed version by email. |