SpreadJS Documentation
clearStyleProperty Method
The row property name.
Clears the style setting for the specified property that is a property of GcSpread.Sheets.Style, such as "backColor", "foreColor", and so on.
Syntax
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea);
var value; // Type: any
value = instance.clearStyleProperty(propertyName);
function clearStyleProperty( 
   propertyName : string
) : any;

Parameters

propertyName
The row property name.
Example
This example uses the clearStyleProperty method.
var style = new GcSpread.Sheets.Style();
style.backColor = "lightgreen";
activeSheet.setStyle(1,-1,style,GcSpread.Sheets.SheetArea.viewport);
activeSheet.getRow(1).clearStyleProperty("backColor");
See Also

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.