Class Index

Classes


Class $.wijmo.wijspread.Top10Rule

Class Summary
Constructor Attributes Constructor Name and Description
 
$.wijmo.wijspread.Top10Rule(type, rank, style)
Creates a new Top10Rule object.
Class Detail
$.wijmo.wijspread.Top10Rule(type, rank, style)
Creates a new Top10Rule object.
var style = new $.wijmo.wijspread.Style();
style.backColor = "red";
var rule = new $.wijmo.wijspread.Top10Rule($.wijmo.wijspread.Top10ConditionType.Top,2,style);
rule.ranges=[new $.wijmo.wijspread.Range(0,0,10,1)];
sheet.getConditionalFormats().addRule(rule);
sheet.setValue(0, 0, 1);
sheet.setValue(1, 0, 50);
sheet.setValue(2, 0, 11);
sheet.setValue(3, 0, 5);
Parameters:
type
Comparison operator.
rank
The count of top or bottom items.
style
The cell style.

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