下表列出了 Column 标签的子标签。columns 标签不提供属性。
| Child Element | API 参考 | Count | Type |
| column | any | column |
下表列出了 column 标签提供的属性:
| Attribute | API Reference | Type | Comments |
| autoFit | Worksheet.autoFitColumn(column) | boolean | 如果 autoFit 被设置为 true, 列将会在数据完成绑定的时候自动调整列宽。 |
| dataField | columnInfo.name | string | 该属性将会调用 Worksheet.bindColumn(index, columnInfo) 方法 |
| headerText | columnInfo.displayName | string | 该属性将会调用 Worksheet.bindColumn(index, columnInfo) 方法 |
| resizable | CellRange.resizable(value) | boolean | |
| visible | CellRange.visible(value) | boolean | |
| width | CellRange.width(value) | number |
下表列出了 column 标签的子标签。
| Child Element | API Reference | Count | Type |
| defaultStyle | sheet.setStyle(-1, columnIndex, value) | 1 | style |
outline 标签没有属性。下表列出了 outline 的子标签。
| Child Element | API Reference | Count | Type |
| outline | Outline.group(index, count) | any | GC.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 的属性。
| Attribute | API Reference | Type |
| index | Outline.group(index, count) | number |
| width | Outline.group(index, count) | number |