ES3Spreadsheet.RowCount

public int RowCount

Description

Gets the number of rows in the ES3Spreadsheet.

Returns

The number of rows in the spreadsheet.

Examples

C#

// Create a blank ES3Spreadsheet.
var sheet = new ES3Spreadsheet();
sheet.Load("spreadsheet.csv");
// Output the first column of the spreadsheet to console.
for(int row=0; row<sheet.RowCount; row++)
    Debug.Log(sheet.GetCell<int>(0, row));

JS

// Create a blank ES3Spreadsheet.
var sheet = new ES3Spreadsheet();
sheet.Load("spreadsheet.csv");
// Output the first column of the spreadsheet to console.
for(var row=0; row<sheet.RowCount; row++)
    Debug.Log(sheet.GetCell.<int>(0, row));