找回密码
 立即注册

QQ登录

只需一步,快速开始

wlp5402

银牌会员

51

主题

145

帖子

2828

积分

银牌会员

积分
2828

活字格认证

wlp5402
银牌会员   /  发表于:2012-11-1 18:44  /   查看:4730  /  回复:1
spread.ActiveCol 在火狐浏览器里取不到值.

1 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2012-11-2 12:06:00
沙发
回复 1楼wlp5402的帖子

你好,在 firefox 中可以通过 GetActiveCol 方法获取 ActiveCol。
  1.    function Button1_onclick() {
  2.             var spread1 = document.getElementById("<%=FpSpread1.ClientID %>");
  3.             var activeCol;
  4.             if (document.all) {
  5.                 activeCol = spread1.ActiveCol;
  6.             }
  7.             else {
  8.                 activeCol = spread1.GetActiveCol();
  9.             }
  10.             alert(activeCol);
  11.         }
复制代码
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部