-
-
Notifications
You must be signed in to change notification settings - Fork 36
setCellValue
Julian Halliwell edited this page Aug 6, 2024
·
7 revisions
Sets the value for a cell. If the cell doesn't exist it will be created.
setCellValue( workbook, value, row, column[, type ] )
-
workbook
spreadsheet object -
value
any: value to set -
row
numeric -
column
numeric
-
datatype
string: force the value to be set as one of the following data types:- "blank"
- "boolean"
- "date"
- "numeric"
- "string"
Chainable? Yes.
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.setCellValue( workbook, "test", 1, 1 );
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.setCellValue( workbook, "true", 1, 1, "boolean" );