Spread.Sheets Documentation
defaults Field
Indicates the default row height and column width of the sheet.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: Object
value = instance.defaults;
var defaults : Object;
Example
This example sets the default row height and column width.
activeSheet.suspendPaint();
activeSheet.defaults.rowHeight = 40;
activeSheet.defaults.colWidth = 30;
activeSheet.resumePaint();
Remarks

The following settings are available:

defaults.rowHeight number type Specifies default row height of viewport cells.
defaults.colWidth number type Specifies default column width if viewport cells.
defaults.rowHeaderColWidth number type Specifies default column width of row header cells.
defaults.colHeaderRowHeight number type Specifies default row height of column header cells.

See Also

Reference

Worksheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.