-
-
Notifications
You must be signed in to change notification settings - Fork 36
setActiveCell
Julian Halliwell edited this page Sep 20, 2021
·
2 revisions
Sets the cell to be active (focused) when the spreadsheet is opened.
setActiveCell( workbook, row, column )
-
workbook
spreadsheet object -
row
numeric -
column
numeric
Chainable? Yes.
spreadsheet = New spreadsheet();
workbook = spreadsheet.new();
spreadsheet.addColumn( workbook , "1,1" );//add 2 rows
spreadsheet.setActiveCell( workbook, 2, 1 );// set focus on the first cell in the second row when the spreadsheet is opened