Create a division. Any existing division is overwritten.
1 excel.Sheet.createFreezePane
<excel.Sheet.createFreezePane
col-split='col-split'
row-split='row-split'
>
<sh /> +
</excel.Sheet.createFreezePane>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acol-split | integer | Horizontal position of the division. | |||
Arow-split | integer | Vertical position of the division. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Esh | Sheet | Sheet in which you want to create the division. |
Example
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <set name="sheet_1"> <excel.Workbook.createSheet name="Sheet 1"> <wb/> </excel.Workbook.createSheet> </set> <!-- freeze sheet --> <excel.Sheet.createFreezePane col-split="1" row-split="10"> <sheet_1/> </excel.Sheet.createFreezePane> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>