GC.Spread.Sheets 名前空間 > ConditionalFormatting タイプ : Top10ConditionType フィールド |
Javascript (Usage) | |
---|---|
var value; // Type: Top10ConditionType value = GC.Spread.Sheets.ConditionalFormatting.Top10ConditionType; |
Javascript (Specification) | |
---|---|
var Top10ConditionType : Top10ConditionType; |
// 次のサンプルコードは、Top10ConditionType列挙体を使用します。 var style = new GC.Spread.Sheets.Style(); style.backColor = "red"; var ranges=[new GC.Spread.Sheets.Range(0,0,10,1)]; activeSheet.conditionalFormats.addTop10Rule(GC.Spread.Sheets.ConditionalFormatting.Top10ConditionType.top, 2, style, ranges); activeSheet.setValue(0, 0, 1); activeSheet.setValue(1, 0, 50); activeSheet.setValue(2, 0, 11); activeSheet.setValue(3, 0, 5);