您好,我测试您的代码已经不能切换了,您再试试。
直接在Demo中粘贴代码点击运行
- $(document).ready(function () {
-
-
- var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});
- spread.addSheet();
- spread.bind(GcSpread.Sheets.Events.ActiveSheetChanging, function (sender, args) {
- //Cancel sheet switching.
- args.cancel = true;
- });
-
- });
复制代码 |