找回密码
 立即注册

QQ登录

只需一步,快速开始

1594202459

注册会员

31

主题

48

帖子

163

积分

注册会员

积分
163

活字格认证

1594202459
注册会员   /  发表于:2014-12-22 10:19  /   查看:4555  /  回复:2
<!DOCTYPE html>
<html>
<head>
    <link href="css/jquery.wijmo.wijspread.3.20143.14.css" rel="stylesheet" />
    <script src="external/jquery-1.8.2.min.js"></script>
    <!--SpreadJS pluggable core function library-->
    <script src="scripts/pluggable/jquery.wijmo.wijspread.core.3.20143.14.min.js"></script>
    <script type="text/javascript">
        $(function () {
            //The SpreadJS definition and most UI behavior is in SpreadJS Core library.
            $("#ss").wijspread();
            var spread = $("#ss").wijspread("spread");
            var activeSheet = spread.getActiveSheet();
        });
    </script>
</head>
<body>
    <div id="ss" class="spread" style="width: 80%; height: 500px"></div>
</body>
</html>


报错  Uncaught TypeError: Cannot call method 'TouchScrollOnRails' of undefined

2 个回复

倒序浏览
1594202459
注册会员   /  发表于:2014-12-22 11:01:00
沙发
回复 1楼1594202459的帖子

已找到原因是我没有引用:   <script src="scripts/jquery.wijmo.wijspread.all.3.20143.14.js"></script>
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2014-12-22 14:45:00
板凳
回复 2楼1594202459的帖子

谢谢对该问题的反馈。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部