SpreadJS 15
GC.Data Namespace / StateRuleDirection Enumeration
In This Topic
    StateRuleDirection Enumeration
    In This Topic
    Defines the direction in which the style rule is applied.
    Members
    MemberDescription
    bothSpecifies the style rule will apply to both row and column direction.
    columnSpecifies the style rule will apply to the column direction.
    noneSpecifies the style rule will not be applied.
    rowSpecifies the style rule will apply to the row direction.
    Example
    view.addStyleRule("hoverRowStyle", GC.Data.View.StateRuleDirection, { backColor: "green" }, { state: GC.Data.RowColumnStates.hover });
    Inheritance Hierarchy

    Object
       GC.Data.StateRuleDirection

    See Also