GcSpread.Sheets Namespace > CheckBoxCellType class : isThreeState Method |
var instance = new GcSpread.Sheets.CheckBoxCellType(); var returnValue; // Type: boolean returnValue = instance.isThreeState(value);
function isThreeState( value : boolean ) : boolean;
true
if the check box supports three states; otherwise, false
.var cellType1 = new GcSpread.Sheets.CheckBoxCellType(); cellType1.caption("caption"); cellType1.textTrue("true"); cellType1.textFalse("false"); cellType1.textIndeterminate("indeterminate"); cellType1.textAlign(GcSpread.Sheets.CheckBoxTextAlign.bottom); cellType1.isThreeState(true); activeSheet.getCell(1, 1).cellType(cellType1);