Get the type of the cell.
1 excel.Cell.getCellType
<excel.Cell.getCellType>
<cl /> +
</excel.Cell.getCellType>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Ecl | Cell | Cell. |
Returns | |
---|---|
Type | Description |
integer | Type of cell. |
Example
Copy
<xsql-script> <body> <set name='wb'> <excel.Workbook /> </set> <set name="sheet_1"> <excel.Workbook.createSheet name="Hoja 1"> <wb/> </excel.Workbook.createSheet> </set> <set name="cell_r2c5"> <excel.Sheet.createCell row="3" col="2"> <sheet_1/> </excel.Sheet.createCell> </set> <excel.Cell.setCellValue> <cell_r2c5/> <excel.Cell.getCellType> <cell_r2c5/> </excel.Cell.getCellType> </excel.Cell.setCellValue> <excel.Workbook.write> <wb/> <file name="test.xls" type="absolute"/> </excel.Workbook.write> </body> </xsql-script>