10金币
最佳答案可以利用事件ValidationError实现,这是apihttps://demo.grapecity.com.cn/spreadjs/help/api/GC.Spread.Sheets.Worksheet.html#event:ValidationError
sheet.bind(GC.Spread.Sheets.Events.ValidationError, function(e, args) {
args.validationResult = 1
});
另外以下链接是validationResult的枚举
https://demo.grapecity.com.cn/spreadjs/help/api/GC.Spread.Sheets.DataValidation.html#.DataValid ...
| |
| |
| |
| |
| |