SpreadJS Documentation
rowCount Field
The row count.
Syntax
var instance = new GcSpread.Sheets.Range(r, c, rc, cc);
var value; // Type: rowCount
value = instance.rowCount;
var rowCount : rowCount;
Example
This example sets the rowCount property.
var cellrange = new GcSpread.Sheets.Range();
cellrange.col = 0;
cellrange.row = 1;
cellrange.colCount = 1;
cellrange.rowCount = 8;

activeSheet.setValue(1, 0, 1);
activeSheet.setValue(2, 0, -2);
activeSheet.setValue(3, 0, -1);
activeSheet.setValue(4, 0, 6);
activeSheet.setValue(5, 0, 4);
activeSheet.setValue(6, 0, -4);
activeSheet.setValue(7, 0, 3);
activeSheet.setValue(8, 0, 8);
var setting = new GcSpread.Sheets.SparklineSetting();
setting.showMarkers(true);
activeSheet.setSparkline(13, 0, cellrange, GcSpread.Sheets.DataOrientation.Vertical, GcSpread.Sheets.SparklineType.line, setting);
See Also

Reference

Range type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.