GC.Spread.Sheets.DataValidation 名前空間 > DefaultDataValidator タイプ : inCellDropdown メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.DataValidation.DefaultDataValidator(condition); var returnValue; // Type: any returnValue = instance.inCellDropdown(value); |
Javascript (Specification) | |
---|---|
function inCellDropdown( value : boolean ) : any; |
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"); dv.inCellDropdown(true); activeSheet.setDataValidator(1,1,1,1,dv,GC.Spread.Sheets.SheetArea.viewport); var validList = activeSheet.getDataValidator(1, 1).getValidList(activeSheet, 1, 1); alert(validList);