Class Index

Classes


Class $.wijmo.wijspread.Style

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents the style for a cell, row, and column.
Method Summary
Method Attributes Method Name and Description
 
clear(propertyName)
Clears the specified property value based on the property name.
 
compose(style, force)
Composes settings from another style to the current style.
 
copyFrom(style)
Copies settings from another style to the current style.
Class Detail
$.wijmo.wijspread.Style()
Represents the style for a cell, row, and column.
sheet.setValue(0,0, 1,3);
sheet.setValue(1,0, 50,3);
sheet.setValue(2,0, 100,3);
sheet.setValue(3,0, 2,3);
sheet.setValue(4,0, 60,3);
sheet.setValue(5,0, 90,3);
sheet.setValue(6,0, 3,3);
sheet.setValue(7,0, 40,3);
sheet.setValue(8,0, 70,3);
sheet.setValue(9,0, 5,3);
sheet.setValue(10,0, 35,3);
var style = new $.wijmo.wijspread.Style();
style.backColor = "red";
style.borderLeft =new $.wijmo.wijspread.LineBorder("blue");
style.borderTop = new $.wijmo.wijspread.LineBorder("blue");
style.borderRight = new $.wijmo.wijspread.LineBorder("blue");
style.borderBottom =  new $.wijmo.wijspread.LineBorder("blue");
sheet.getConditionalFormats().addAverageRule( $.wijmo.wijspread.AverageConditionType.Above,style,[new $.wijmo.wijspread.Range(0, 0, 10, 3)]);
Method Detail
clear(propertyName)
Clears the specified property value based on the property name.
Parameters:
propertyName

compose(style, force)
Composes settings from another style to the current style.
Parameters:
{$.wijmo.wijspread.Style} style
The source style.
{boolean} force
Whether to force composing.

copyFrom(style)
Copies settings from another style to the current style.
Parameters:
{$.wijmo.wijspread.Style} style
The source style.

©2013. ComponentOne, a division of GrapeCity. All Rights Reserved.