Create a division (freezepane). Any freezepane or existing division is overwritten.
1 excel.Sheet.createSplitPane
<excel.Sheet.createSplitPane
x='x'
y='y'
top-row='top-row'
leftmost-col='leftmost-col'
active-pane='active-pane'
/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Ax | integer | Position axis x. | |||
Ay | integer | Position axis y. | |||
Atop-row | integer | Visible top row in the lower part of the panel. | |||
Aleftmost-col | integer | Visible left column in the right part of the panel. | |||
Aactive-pane | integer | Where it is placed the panel should be:
|
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> <!-- Divide sheet --> <excel.Sheet.createSplitPane x="2000" y="2000" top-row="0" leftmost-col="0" active-pane="LOWER_LEFT"> <sheet_1/> </excel.Sheet.createSplitPane> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>