<div class="control-section">
<ejs-grid id="HierarchyPrint" load="onLoad">
<e-data-manager url="@Url.Action("UrlChildDataSource")" adaptor="UrlAdaptor"></e-data-manager>
. . .
. . .
</ejs-grid>
</div>
<script>
function onLoad(args) {
this.setProperties({
childGrid: {
dataSource: new ej.data.DataManager({
url: "@Url.Action("UrlDataSource")",
adaptor: new ej.data.UrlAdaptor()
}),
queryString: 'EmployeeID',
. . .
. . .
}
}, true);
}
</script> |