首页 > 其他分享 >SpreadJS

SpreadJS

时间:2022-08-23 14:11:45浏览次数:60  
标签:false 是否 单元格 spread SpreadJS true options

            //var spread = GC.Spread.Sheets.findControl(document.getElementById('ss'));//获取spread对象

            //spread.options.tabStripVisible = false;//是否显示表单栏
            //spread.options.tabNavigationVisible = false;//是否显示导航栏
            //spread.options.newTabVisible = false;//是否显示新增按钮
            //spread.options.scrollbarMaxAlign = true;//是否对齐表单最后的行列
            //spread.options.allowUserResize = false;//是否可调整列和行的大小
            //spread.options.allowSheetReorder = false;//是否可拖拽排序
            //spread.options.allowUserDragMeerge = true;//是否可拖拽合并单元格
            //spread.options.tabEditable = false;//是否可双击编辑
            //spread.options.allowCellOverflow = true;//是否允许单元格溢出
            //spread.options.allowUserZoom = false;//是否在按住Ctrl键的同时滚动鼠标滚轮来缩放显示

            ////拖动滚动条给出提示
            //spread.options.showScrollTip = GC.Spread.Sheets.ShowScrollTip.vertical;//竖直

            ////背景色
            //spread.options.backColor = '#a079e8';//所有单元格
            //spread.options.grayAreaBackColor = 'red';//灰色部分
            //spread.options.backgroundImage = '地址';//所有单元格

            ////复制粘贴
            //spread.options.allowCopyPasteExcelStyle = true;//允许粘贴样式
            //spread.options.allowExtendPasteRange = true;//允许扩展粘贴区域
            //spread.options.copyPasteHeaderOptions = 0;//粘贴(0:不含表头/ 1:仅含行头/ 2:仅含列头/ 3:含行头列头)

            //spread.suspendEvent();//停止监听
            //spread.resumeEvent();//恢复监听

            //spread.refresh()//???
工作簿设置

 

标签:false,是否,单元格,spread,SpreadJS,true,options
From: https://www.cnblogs.com/fl-1998/p/16615940.html

相关文章