回复 2楼iceman的帖子
请看下面的, var spread = document.getElementById("<%=FpSpread1.ClientID %>");
//var activeRow = spread.ActiveRow;
var activeRow = spread.ActiveRow;
var activeCol = spread.ActiveCol;
//var activeCol = spread.ActiveCol;
//alert("activeCol:"+activeCol);
if (activeCol == 2) {
var id= spread.GetValue(activeRow,0);
alert("activeCol:"); |