ES3Spreadsheet.GetCell

public T GetCell<T>(int col, int row)

Description

Gets the given cell to a particular value.

If the cell is out of the bounds of the spreadsheet, it will throw a IndexOutOfRange exception.

If the cell is in bounds, but no value has been set for the cell, it will return the default value of the data type you are loading. For example, null for reference types, or for number types.

Parameters

T The type of the data we wish to save to the cell.

Col

The column of the cell you want to get the value of.

Row

The row of the cell we want to get the value of.

Returns

The value of the cell.

Examples

C#

JS