如果使用GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.between,两个都使用了自定义函数获取后台数据,
那在验证错误的情况下,怎样获取到这个两个自定义函数在后台获取来的值,用什么方法,有没有什么例子?谢谢
var activeSheet = spread.getActiveSheet();
var dv3 = new GC.Spread.Sheets.DataValidation.createNumberValidator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.between,"=WYQFUNCTION(2,3)-0.01","=WYQFUNCTION(4,8)+0.01");
//dv3.inputMessage("xxxxxxxxxxxx");
dv3.showErrorMessage(true);
//dv3.showInputMessage(true);
activeSheet.setDataValidator(1, 1, dv3);
|
|