File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
ej2-asp-core-mvc/code-snippet/gantt/data-binding Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
<script>
9
9
document.getElementById('dataBind').addEventListener('click', function (args) {
10
10
var ganttObj = document.getElementById('Gantt').ej2_instances[0];
11
- let fetch = new Fetch("https://ej2services .syncfusion.com/production/web-services /api/GanttData","GET");
11
+ let fetch = new Fetch("https://services .syncfusion.com/aspnet/production /api/GanttData","GET");
12
12
ganttObj.showSpinner();
13
13
fetch.send();
14
14
fetch.onSuccess = function (data: any) {
Original file line number Diff line number Diff line change 1
1
@Html.EJS().Gantt("DefaultFunctionalities").DataSource(dataManger =>
2
2
{
3
- dataManger.Url("https://services.syncfusion.com/aspnet/development /api/GanttLoadOnDemand").CrossDomain(true).Adaptor("WebApiAdaptor");
3
+ dataManger.Url("https://services.syncfusion.com/aspnet/production /api/GanttLoadOnDemand").CrossDomain(true).Adaptor("WebApiAdaptor");
4
4
})
5
5
.Height("460px").EnableVirtualization(true).LoadChildOnDemand(false)
6
6
.TaskFields(ts => ts.Id("taskId").Name("taskName").StartDate("startDate").Progress("progress")
Original file line number Diff line number Diff line change 1
1
<ejs-gantt id='LoadOnDemand' treeColumnIndex="1" height="460px" allowSelection="true" highlightWeekends="true"
2
2
includeWeekend="true" projectStartDate="01/02/2000" enableVirtualization="true" loadChildOnDemand="false"
3
3
projectEndDate="12/01/2002">
4
- <e-data-manager url="https://services.syncfusion.com/aspnet/development /api/GanttLoadOnDemand" adaptor="WebApiAdaptor" crossDomain="true"></e-data-manager>
4
+ <e-data-manager url="https://services.syncfusion.com/aspnet/production /api/GanttLoadOnDemand" adaptor="WebApiAdaptor" crossDomain="true"></e-data-manager>
5
5
<e-gantt-taskfields id="taskId" name="taskName" startDate="startDate"
6
6
duration="duration" progress="progress" hasChildMapping="isParent" parentID="parentID">
7
7
</e-gantt-taskfields>
Original file line number Diff line number Diff line change 1
1
@Html.EJS().Gantt("Gantt").DataSource(dataManger =>
2
2
{
3
- dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/GanttData").CrossDomain(true).Adaptor("WebApiAdaptor");
3
+ dataManger.Url("https://services .syncfusion.com/aspnet/production /api/GanttData").CrossDomain(true).Adaptor("WebApiAdaptor");
4
4
}).Height("450px").TaskFields(ts => ts.Id("TaskId").Name("TaskName").StartDate("StartDate").Progress("Progress").Duration("Duration"
5
5
).Dependency("Predecessor").Child("SubTasks")).Render()
6
6
Original file line number Diff line number Diff line change 1
1
<ejs-gantt id='RemoteData' treeColumnIndex="0" height="450px" projectStartDate="02/24/2019" projectEndDate="06/10/2019">
2
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/GanttData" adaptor="WebApiAdaptor" crossDomain="true"></e-data-manager>
2
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/GanttData" adaptor="WebApiAdaptor" crossDomain="true"></e-data-manager>
3
3
<e-gantt-taskfields id="TaskId" name="TaskName" startDate="StartDate"
4
4
duration="Duration" progress="Progress" dependency="Predecessor" child="SubTasks">
5
5
</e-gantt-taskfields>
You can’t perform that action at this time.
0 commit comments