Excel API Library for Java - Sample Browser | Document Solutions | Data source
[
フレーム]
src="bundle.js">
## Data source
The template API can bind Excel templates directly with data from following objects:
- **DataSet/DataTable:** Can handle data source from any type of DB
- **Custom Object:** These are user defined objects. Can handle data source from Json String/File/XML, etc. That is, any data source that can be serialized as a custom object.
- **Variable:** User defined variable in code.
- **Array/List:** User defined array/list in code.
// Create a new workbook
Workbook workbook = new Workbook();null
// Save to an excel file
workbook.save("FolderExample.xlsx");
// Create a new workbook
var workbook = Workbook()
FIXME: No Kotlin code in this demo.
// Save to an excel file
workbook.save("FolderExample.xlsx")