SpreadJS Documentation
fromSource Method
GC.Spread.Sheets.ConditionalFormatting Namespace > Condition type : fromSource Method
The expected source that separates each data item with a comma (",").
Creates the area condition from source data.
Syntax
var value; // Type: Condition
value = GC.Spread.Sheets.ConditionalFormatting.Condition.fromSource(expected);
function fromSource( 
   expected : string
) : Condition;

Parameters

expected
The expected source that separates each data item with a comma (",").

Return Value

The area condition.
See Also

Reference

Condition type