SpreadJS Documentation
GC.Spread.Sheets.CellTypes Namespace / CheckBox class / textIndeterminate Method
The text in the cell when the cell's value is indeterminate.
In This Topic
    textIndeterminate Method
    In This Topic
    Gets or sets the text in the cell when the cell's value is indeterminate (neither true nor false).
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.CheckBox();
    var returnValue; // Type: any
    returnValue = instance.textIndeterminate(value);
    function textIndeterminate( 
       value : string
    ) : any;

    Parameters

    value
    The text in the cell when the cell's value is indeterminate.

    Return Value

    If no value is set, returns the text in the cell when the cell's value is indeterminate. If a value is set, returns the check box cell type.
    Example
    This example creates a check box cell.
    var cellType1 = new GC.Spread.Sheets.CellTypes.CheckBox();
    cellType1.caption("caption");
    cellType1.textTrue("true");
    cellType1.textFalse("false");
    cellType1.textIndeterminate("indeterminate");
    cellType1.textAlign(GC.Spread.Sheets.CellTypes.CheckBoxTextAlign.bottom);
    cellType1.isThreeState(true);
    activeSheet.getCell(1, 1).cellType(cellType1);
    Remarks
    The default value is an empty string.
    See Also

    Reference

    CheckBox class