Hello,
You may check for ComboBoxCellType and then set the focus in ondown() function. Here is the code on how you can do that:
function ondown() { var spread = document.getElementById("FpSpread1″); var row = spread.ActiveRow; var col = spread.ActiveCol; var cell = spread.GetCellByRowCol(row, col); var celltype = cell.getAttribute('FpCellType’); if (celltype != "ComboBoxCellType") { document.getElementById("TextBox1″).focus(); } }
Thanks,
Deepak Sharma