Thank you Manisankar for your support,
but unfortunatelyit doesn't work.
Linking the Event works fine, but when it comes to "var grid = $("#Grid").ejGrid("instance");" the javascript console throws following error:
"myFile:92 Uncaught TypeError: $(...).ejGrid is not a function
at Object.rowSelected (myFile:92)
at Object._trigger (ej.web.all.min.js:10)
at Object.selectRows (ej.web.all.min.js:10)
at Object._clickHandler (ej.web.all.min.js:10)
at HTMLDivElement.<anonymous> (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery.js:5206)
at a (ej.web.all.min.js:10)
at HTMLDivElement.s (ej.web.all.min.js:10)
at HTMLDivElement.dispatch (jquery.js:5206)
at HTMLDivElement.elemData.handle (jquery.js:5014)
rowSelected @ Material:92
_trigger @ ej.web.all.min.js:10
selectRows @ ej.web.all.min.js:10
_clickHandler @ ej.web.all.min.js:10
(anonymous) @ ej.web.all.min.js:10
dispatch @ jquery.js:5206
a @ ej.web.all.min.js:10
s @ ej.web.all.min.js:10
dispatch @ jquery.js:5206
elemData.handle @ jquery.js:5014"
Maybe there is an error in the strucuture of my page.
<html>
<head>
..
<link rel="stylesheet" rel='nofollow' href="/lib/syncfusion-javascript/Content/ej/web/bootstrap-theme/ej.web.all.min.css" />
<link rel="stylesheet" rel='nofollow' href="/lib/syncfusion-javascript/Content/ej/web/responsive-css/ej.responsive.css" />
<script src="/lib/jquery/dist/jquery.js"></script>
<script src="/lib/jsrender/jsrender.js"></script>
<script src="/lib/jquery.easing/jquery.easing.js"></script>
<script src="/lib/syncfusion-javascript/Scripts/ej/web/ej.web.all.min.js"></script>
...
</head>
<body>
<div class="container body-content">
<h2>Super header</h2>
<div id="Grid"></div>
<button type="Submit" id="createorder"></button>
</div>
<script type='text/javascript'>$(function($){$("#Grid").ejGrid({"allowSorting":true,....</script>
<script type="text/javascript">
function rowSelected(args)
{
var grid = $("#Grid").ejGrid("instance");
var selectedrowindex = this.selectedRowsIndexes; // get selected row indexes
alert(selectedrowindex);
}
</script>
</body>
</html>
While digging the documentation I found out, that the Asp.Net.Core Grid component is based on Essential JS 1.
Regarding your dependency information (https://help.syncfusion.com/js/dependencies), the version of ej, that comes with your "Getting Started" (https://help.syncfusion.com/aspnet-core/gettingstarted/getting-started-2-0) is 15.4.17.
Is it possible, that the linked libraries are not compatible?
The resolved bower dependencies are:
syncfusion-javascript (15.4.17)
- jquery (3.2.1)
- jquery-validation (1.14.0)
- jsrender (0.9.90)
- syncfusion-ej-global (15.4.17)