Array

You can use the built-in generic Array interface to also declare an array

Array<number> myArray 

This is the same as

number[] myArray 

Handling 2D Arrays

range.values = <any> 10; 

When you want to set a single value to a property that is a 2D array you need to include the <any> statement



Everything is zero based

worksheet.getCell(0,0) 



© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext