Posted 28 May 2019, 5:12 am EST
Hi,
spread.addSheet(0, sheet);
sheet.setRowCount(3,GC.Spread.Sheets.SheetArea.viewport);
sheet.setValue(4, 0, 123);
This code wont work because I am setting value on row 4 which doesn’t exist now. To make it work correctly I need add a check (rowIndex >= sheet.getRowCount() -1) and need to invoke addRows(). This becomes bit ugly. Is there any better way to do this?
