@{
var ChildGrid = new Syncfusion.EJ2.Grids.Grid()
{
DataSource = new Syncfusion.EJ2.DataManager() { Url = "UrlChildDataSource", BatchUrl = "batchUpdate", Adaptor = "UrlAdaptor" },
QueryString = "EmployeeID",
. . .
};
}
<div class="control-section">
<ejs-grid id="HierarchyPrint" load="onLoad">
<e-data-manager url="@Url.Action("UrlDatasource")" adaptor="UrlAdaptor"></e-data-manager>
. . .
. . .
</ejs-grid>
</div> |
@{
var ChildGrid = new Syncfusion.EJ2.Grids.Grid()
{
DataSource = new Syncfusion.EJ2.DataManager() { json = "@ViewBag.dataSource", BatchUrl = "batchUpdate", Adaptor = "RemoteSaveAdaptor" },
QueryString = "EmployeeID",
};
}
<div class="control-section">
<ejs-grid id="HierarchyPrint" load="onLoad">
<e-data-manager url="@Url.Action("UrlDatasource")" adaptor="UrlAdaptor"></e-data-manager>
. . .
. . .
</ejs-grid>
</div> |
@{
var ChildGrid = new Syncfusion.EJ2.Grids.Grid()
{
DataSource = new Syncfusion.EJ2.DataManager() {
Url = Url.Action("UrlChildDataSource"),
BatchUrl = Url.Action("batchUpdate"),
Adaptor = "UrlAdaptor"
},
QueryString = "EmployeeID",
. ..
. ..
};
}
<div class="control-section">
<ejs-grid id="HierarchyPrint" childGrid="ChildGrid">
<e-data-manager url="@Url.Action("UrlDatasource")" adaptor="UrlAdaptor"></e-data-manager>
. . .
. . .
</ejs-grid>
</div> |