GC.Spread.Sheets.ConditionalFormatting Namespace : TextComparisonOperators Enumeration |
Member | Description |
---|---|
beginsWith | Determines whether a cell value begins with the parameter value. |
contains | Determines whether a cell value contains the parameter value. |
doesNotContain | Determines whether a cell value does not contain the parameter value. |
endsWith | Determines whether a cell value ends with the parameter value. |
var style = new GC.Spread.Sheets.Style(); style.backColor = "red"; var ranges=[new GC.Spread.Sheets.Range(0,0,10,1)]; activeSheet.conditionalFormats.addSpecificTextRule(GC.Spread.Sheets.ConditionalFormatting.TextComparisonOperators.contains, "test", style, ranges); activeSheet.setValue(0, 0, "testing"); activeSheet.setValue(1, 0, "test"); activeSheet.setValue(2, 0, "a"); activeSheet.setValue(3, 0, "t");
Object
GC.Spread.Sheets.ConditionalFormatting.TextComparisonOperators