本帖最后由 Wilson.Zhang 于 2025-1-10 08:45 编辑
配置:
spread.options.allowDragHeaderToMove = GC.Spread.Sheets.AllowDragHeaderToMove.both;
报错:
spread.options:
{"_ps":{"allowDragHeaderToMove":3,"allowUserDragDrop":true,"allowUserDragFill":false,"allowUserZoom":true,"allowUserResize":true,"allowUndo":true,"allowSheetReorder":true,"allowContextMenu":false,"allowUserDeselect":true,"defaultDragFillType":5,"showDragFillSmartTag":true,"showHorizontalScrollbar":true,"showVerticalScrollbar":true,"scrollbarShowMax":true,"scrollbarMaxAlign":true,"tabStripVisible":true,"tabStripRatio":0.5,"tabStripPosition":0,"tabStripWidth":80,"tabEditable":false,"newTabVisible":true,"allSheetsListVisible":2,"cutCopyIndicatorVisible":true,"cutCopyIndicatorBorderColor":"#217346","tabNavigationVisible":true,"backColor":"white","backgroundImage":null,"backgroundImageLayout":0,"showResizeTip":0,"showDragDropTip":true,"showDragFillTip":true,"scrollIgnoreHidden":false,"highlightInvalidData":false,"showScrollTip":0,"grayAreaBackColor":"#F4F8EB","useTouchLayout":false,"hideSelection":false,"resizeZeroIndicator":1,"allowUserEditFormula":true,"pivotAreaReference":1,"enableFormulaTextbox":true,"referenceStyle":0,"allowDynamicArray":false,"iterativeCalculation":true,"iterativeCalculationMaximumIterations":1000,"iterativeCalculationMaximumChange":0.01,"calcOnDemand":false,"incrementalCalculation":false,"dynamicReferences":true,"autoFitType":0,"allowCopyPasteExcelStyle":true,"allowExtendPasteRange":false,"copyPasteHeaderOptions":3,"calculationMode":0,"allowUserDragMerge":false,"rowResizeMode":0,"columnResizeMode":0,"scrollByPixel":false,"scrollPixel":5,"enableAccessibility":false,"allowAutoCreateHyperlink":true,"scrollbarAppearance":0,"font":null,"customList":[],"numbersFitMode":0,"pasteSkipInvisibleRange":false,"allowAutoExtendFilterRange":false,"allowInvalidFormula":false,"formulaFormatHint":true,"defaultSheetTabStyles":{},"builtInFileIcons":{},"dragHeaderMaskBackColor":null,"dragHeaderIndicatorColor":null},"allowDragHeaderToMove":3,"allowUserDragDrop":true,"allowUserDragFill":false,"allowUserZoom":true,"allowUserResize":true,"allowUndo":true,"allowSheetReorder":true,"allowContextMenu":false,"allowUserDeselect":true,"defaultDragFillType":5,"showDragFillSmartTag":true,"showHorizontalScrollbar":true,"showVerticalScrollbar":true,"scrollbarShowMax":true,"scrollbarMaxAlign":true,"tabStripVisible":true,"tabStripRatio":0.5,"tabStripPosition":0,"tabStripWidth":80,"tabEditable":false,"newTabVisible":true,"allSheetsListVisible":2,"cutCopyIndicatorVisible":true,"cutCopyIndicatorBorderColor":"#217346","tabNavigationVisible":true,"backColor":"white","backgroundImage":null,"backgroundImageLayout":0,"showResizeTip":0,"showDragDropTip":true,"showDragFillTip":true,"scrollIgnoreHidden":false,"highlightInvalidData":false,"showScrollTip":0,"grayAreaBackColor":"#F4F8EB","useTouchLayout":false,"hideSelection":false,"resizeZeroIndicator":1,"allowUserEditFormula":true,"pivotAreaReference":1,"enableFormulaTextbox":true,"referenceStyle":0,"allowDynamicArray":false,"iterativeCalculation":true,"iterativeCalculationMaximumIterations":1000,"iterativeCalculationMaximumChange":0.01,"calcOnDemand":false,"incrementalCalculation":false,"dynamicReferences":true,"autoFitType":0,"allowCopyPasteExcelStyle":true,"allowExtendPasteRange":false,"copyPasteHeaderOptions":3,"calculationMode":0,"allowUserDragMerge":false,"rowResizeMode":0,"columnResizeMode":0,"scrollByPixel":false,"scrollPixel":5,"enableAccessibility":false,"allowAutoCreateHyperlink":true,"scrollbarAppearance":0,"font":null,"customList":[],"numbersFitMode":0,"pasteSkipInvisibleRange":false,"allowAutoExtendFilterRange":false,"allowInvalidFormula":false,"formulaFormatHint":true,"defaultSheetTabStyles":{},"builtInFileIcons":{},"dragHeaderMaskBackColor":null,"dragHeaderIndicatorColor":null}
sheet.options:
{"_ps":{"rowHeaderVisible":true,"colHeaderVisible":true,"clipBoardOptions":0,"frozenlineColor":"black","rowHeaderAutoText":1,"colHeaderAutoText":2,"rowHeaderAutoTextIndex":-1,"colHeaderAutoTextIndex":-1,"allowCellOverflow":false,"showFormulas":false,"showZeros":true,"isProtected":true,"protectionOptions":{"allowResizeColumns":true,"allowResizeRows":true,"allowFilter":true,"allowSort":true},"gridline":{"color":"rgb(212, 212, 212)","showVerticalGridline":true,"showHorizontalGridline":true,"_color":"rgb(212, 212, 212)","_showHorizontalGridline":true,"_showVerticalGridline":true},"reversalTrailingResizeOrder":false,"keepUnknownFormulas":false,"addColumnButtonOption":{"visible":false,"width":null,"command":"gc.spread.contextMenu.insertColumns","style":null,"tooltip":null,"_visible":false,"_command":"gc.spread.contextMenu.insertColumns","_width":null,"_style":null,"_tooltip":null},"addRowButtonOption":{"visible":false,"height":null,"command":"gc.spread.contextMenu.insertRows","style":null,"tooltip":null,"_visible":false,"_command":"gc.spread.contextMenu.insertRows","_height":null,"_style":null,"_tooltip":null},"rightToLeft":false,"sheetAreaOffset":{"left":0,"top":0,"_left":0,"_top":0}},"rowHeaderVisible":true,"colHeaderVisible":true,"clipBoardOptions":0,"frozenlineColor":"black","rowHeaderAutoText":1,"colHeaderAutoText":2,"rowHeaderAutoTextIndex":-1,"colHeaderAutoTextIndex":-1,"allowCellOverflow":false,"showFormulas":false,"showZeros":true,"isProtected":true,"protectionOptions":{"allowResizeColumns":true,"allowResizeRows":true,"allowFilter":true,"allowSort":true},"gridline":{"color":"rgb(212, 212, 212)","showVerticalGridline":true,"showHorizontalGridline":true,"_color":"rgb(212, 212, 212)","_showHorizontalGridline":true,"_showVerticalGridline":true},"reversalTrailingResizeOrder":false,"keepUnknownFormulas":false,"addColumnButtonOption":{"visible":false,"width":null,"command":"gc.spread.contextMenu.insertColumns","style":null,"tooltip":null,"_visible":false,"_command":"gc.spread.contextMenu.insertColumns","_width":null,"_style":null,"_tooltip":null},"addRowButtonOption":{"visible":false,"height":null,"command":"gc.spread.contextMenu.insertRows","style":null,"tooltip":null,"_visible":false,"_command":"gc.spread.contextMenu.insertRows","_height":null,"_style":null,"_tooltip":null},"rightToLeft":false,"sheetAreaOffset":{"left":0,"top":0,"_left":0,"_top":0}}
|
-
-
|