Page tree
Skip to end of metadata
Go to start of metadata

下表列出了 Column 标签的子标签。columns 标签不提供属性。

Child ElementAPI 参考CountType
column anycolumn

下表列出了 column 标签提供的属性:

AttributeAPI ReferenceTypeComments
autoFitWorksheet.autoFitColumn(column)boolean如果 autoFit 被设置为 true, 列将会在数据完成绑定的时候自动调整列宽。
dataFieldcolumnInfo.namestring该属性将会调用 Worksheet.bindColumn(index, columnInfo) 方法
headerTextcolumnInfo.displayNamestring该属性将会调用 Worksheet.bindColumn(index, columnInfo) 方法
resizableCellRange.resizable(value)boolean 
visibleCellRange.visible(value)boolean 
widthCellRange.width(value)number 

下表列出了 column 标签的子标签。


Child ElementAPI ReferenceCountType
defaultStylesheet.setStyle(-1, columnIndex, value)1style

outline 标签没有属性。下表列出了 outline 的子标签。

Child ElementAPI ReferenceCountType
outlineOutline.group(index, count)anyGC.Spread.Sheets.Outlines.Outline

以下代码使用了 outline 标签。

<worksheet>
    <row-outlines>
        <outline index="1" count="4"></outline>
        <outline index="6" count="8"></outline>
    </row-outlines>
    <column-outlines>
        <outline index="2" count="5"></outline>
    </column-outlines>
< /worksheet>

The group element has no child elements. The following table lists the attributes of the group element.

group 标签没有子标签。下表列出了 group 的属性。

AttributeAPI ReferenceType
indexOutline.group(index, count)number
widthOutline.group(index, count)number
  • No labels