Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Arrow Key

$
0
0

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


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>