On debugging, I found the message is coming from following code in kendo.spreadsheet.min file :
e.spreadsheet.OpenCommand = i.extend({
cannotUndo: !0,
exec: function() {
var e, t = this.options.file;
return null === t.name.match(/.xlsx$/i) ? {
reason: "error",
type: "openUnsupported"
} : (e = this.options.workbook, void e.fromFile(this.options.file).then(function() {
var t = e.excelImportErrors;
t && t.length && e._view.openDialog("importError", {
errors: t
})
}))
}
})
Can someone suggest changes that can be done on this code ?