Spread.Sheets Documentation
showInputMessage Method
GC.Spread.Sheets.DataValidation Namespace > DefaultDataValidator type : showInputMessage Method
Indicates whether to display the input title and input message.
Gets or sets whether to display the input title and input message.
Syntax
var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition);
var returnValue; // Type: any
returnValue = instance.showInputMessage(value);
function showInputMessage( 
   value : boolean
) : any;

Parameters

value
Indicates whether to display the input title and input message.

Return Value

If no value is set, returns whether to display the input title and input message; otherwise, returns the data validator.
Example
spread.options.highlightInvalidData = true;
var dv = GC.Spread.Sheets.DataValidation.createListValidator("1,2,3");
dv.showInputMessage(true);
dv.inputMessage("Value must be 1,2 or 3");
dv.inputTitle("tip");
activeSheet.setDataValidator(1,1,1,1,dv,GC.Spread.Sheets.SheetArea.viewport);
alert(activeSheet.getDataValidator(1,1).getValidList(activeSheet,1,1));
See Also

Reference

DefaultDataValidator type