SpreadJS Documentation
textTrue Method
The text when the cell's value is true.
Gets or sets the text in the cell when the cell's value is true.
Syntax
var instance = new GcSpread.Sheets.CheckBoxCellType();
var returnValue; // Type: string
returnValue = instance.textTrue(value);
function textTrue( 
   value : string
) : string;

Parameters

value
The text when the cell's value is true.

Return Value

The text when the cell's value is true.
Example
This example creates a check box cell.
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);
Remarks
The default value is an empty string.
See Also

Reference

CheckBoxCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.