SpreadJS 文档
SpreadJS 文档 / 开发者指南 / JavaScript 框架 / 在React中使用SpreadJS / 表单标签
在本主题中
    表单标签
    在本主题中

    下表列出了Worksheet元素的属性。

    属性 API 参考 类型 备注
    dataSource Worksheet.setDataSource(value) any  
    name Worksheet.name(value) string  
    frozenColumnCount Worksheet.frozenColumnCount(value) number  
    frozenRowCount Worksheet.frozenRowCount(value) number  
    frozenTrailingColumnCount Worksheet.frozenTrailingColumnCount(value) number  
    frozenTrailingRowCount Worksheet.frozenTrailingRowCount(value) number  
    allowCellOverflow Worksheet.options.allowCellOverflow = value boolean  
    frozenlineColor Worksheet.options.frozenlineColor = value string
    sheetTabColor Worksheet.options.sheetTabColor = value string  
    rowCount Worksheet.setRowCount(value) number  
    colCount Worksheet.setColumnCount(value) number  
    selectionPolicy Worksheet.selectionPolicy(value) GC.Spread.Sheets.SelectionPolicy  
    selectionUnit Worksheet.selectionUnit(value) GC.Spread.Sheets.SelectionUnit  
    zoom Worksheet.zoom(value) number  
    currentTheme Worksheet.currentTheme(value) string  
    clipBoardOptions Worksheet.options.clipBoardOptions(value) GC.Spread.Sheets.ClipboardPasteOptions  
    rowHeaderVisible Worksheet.options.rowHeaderVisible = value boolean  
    columnHeaderVisible Worksheet.options.colHeaderVisible = value boolean  
    rowHeaderAutoText Worksheet.options.rowHeaderAutoText = value GC.Spread.Sheets.HeaderAutoText  
    columnHeaderAutoText Worksheet.options.colHeaderAutoText = value GC.Spread.Sheets.HeaderAutoText  
    rowHeaderAutoTextIndex Worksheet.options.rowHeaderAutoTextIndex = value number  
    columnHeaderAutoTextIndex Worksheet.options.colHeaderAutoTextIndex = value number  
    isProtected Worksheet.options.isProtected = value boolean  
    showRowOutline Worksheet.showRowOutline(value) boolean  
    showColumnOutline Worksheet.showColumnOutline(value) boolean  
    selectionBackColor Worksheet.options.selectionBackColor = value string  
    selectionBorderColor Worksheet.options.selectionBorderColor = value string  
    defaultStyle Worksheet.setDefaultStyle(value) GC.Spread.Sheets.Style  
    rowOutlineInfo any[] 一个包含行大纲信息的数组,例如[{index:1,count:10})
    columnOutlineInfo any[] 一个包含列大纲信息的数组,例如[{index:1,count:10})

    下表列出了工作表的子元素。

    子元素 计数
    Column any