Categories | Question details Back To List | ||
editCell problem Current version grid pro, and my code is: Im adding cell on the grid bottom: var newRowID = new Date().valueOf(); mygrid.addRow(newRowID,[,,,,,,,,]); mygrid.selectCell(mygrid.getRowIndex(newRowID), 1, true, false, true, true); mygrid.editCell(); Cell is not switched to edit mode - it should be switched twice: 1. by selectCell true parameter 2. by editCell() But is not Answer posted by dhxSupport on Feb 16, 2009 09:16 If you are using "Add row" by pressing on some button or link you have to cancel bubble for the “onclick” event: <button onclick="(arguments[0]||window.event).cancelBubble=true;setFocus()">Set Focus</button> |