Get the number of the row.
1 excel.Row.getRowNum
<excel.Row.getRowNum>
<rw /> +
</excel.Row.getRowNum>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Erw | Row |
Returns | |
---|---|
Type | Description |
Integer |
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> <set name="cell_1"> <excel.Sheet.createCell row="5" col="2"> <sheet_1/> </excel.Sheet.createCell> </set> <set name="r1"> <excel.Sheet.createRow row="123"> <sheet_1/> </excel.Sheet.createRow> </set> <excel.Cell.setCellValue> <cell_1/> <excel.Row.getRowNum> <r1/> </excel.Row.getRowNum> </excel.Cell.setCellValue> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>