GC.Spread.Sheets 名前空間 > Worksheet タイプ : getDataValidator メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: DefaultDataValidator value = instance.getDataValidator(row, col, sheetArea); |
Javascript (Specification) | |
---|---|
function getDataValidator( row : number, col : number, sheetArea : SheetArea ) : DefaultDataValidator; |
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,dv); alert(activeSheet.getDataValidator(1,1).getValidList(activeSheet,1,1));