Hello,
I'm trying to import a simple csv file, in the spreadsheet but its not working, I have this message in the console log :"synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check".
See below the code, thanks for your help.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Essential Studio for JavaScript">
<meta name="author" content="Syncfusion">
<title>Untitled</title>
<!-- Essential Studio for JavaScript theme reference -->
<link rel="stylesheet" rel='nofollow' href="http://cdn.syncfusion.com/13.3.0.7/js/web/flat-azure/ej.web.all.min.css" />
<!-- Essential Studio for JavaScript script references -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://cdn.syncfusion.com/js/assets/external/jquery.easing.1.3.min.js"></script>
<script src="http://cdn.syncfusion.com/js/assets/external/jquery.globalize.min.js"></script>
<script src="http://cdn.syncfusion.com/js/assets/external/jsrender.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js"></script>
<script src="http://cdn.syncfusion.com/13.3.0.7/js/web/ej.web.all.min.js"></script>
<!--Add custom scripts here -->
</head>
<body>
<div id='Spreadsheet'></div>
<script>
$(function () {
$("#Spreadsheet").ejSpreadsheet({
allowImport: true,
importSettings: {
importMapper: "http://js.syncfusion.com/demos/ejservices/api/JSXLExport/Import",
importUrl: "../data/file.csv"
}
});
});
</script>
</body>
</html>