File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
ej2-asp-core-mvc/code-snippet/kanban/data-binding Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
@Html.EJS().Kanban("kanban").KeyField("Status").AllowDragAndDrop(false).DataSource(dataManger =>
2
- { dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/Kanban").CrossDomain(true);
2
+ { dataManger.Url("https://services .syncfusion.com/aspnet/production /api/Kanban").CrossDomain(true);
3
3
}).Query("new ej.data.Query().addParams('ej2kanban', 'true')").Columns(col=> {
4
4
col.HeaderText("To Do").KeyField("Open").Add();
5
5
col.HeaderText("In Progress").KeyField("InProgress").Add();
Original file line number Diff line number Diff line change 1
1
<ejs-kanban id="Kanban" keyField="Status" allowDragAndDrop="false" dialogOpen="dialogOpen" query="new ej.data.Query().addParams('ej2kanban', 'true')" >
2
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Kanban" crossdomain="true"></e-data-manager>
2
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Kanban" crossdomain="true"></e-data-manager>
3
3
<e-kanban-columns>
4
4
<e-kanban-column headerText="To Do" keyField="Open"></e-kanban-column>
5
5
<e-kanban-column headerText="In Progress" keyField="InProgress"></e-kanban-column>
Original file line number Diff line number Diff line change 23
23
}
24
24
var kanban = document.querySelector('#kanban').ej2_instances[0];
25
25
kanban.dataSource = new ej.data.DataManager({
26
- url: "https://ej2services .syncfusion.com/production/web-services /api/Kanban",
26
+ url: "https://services .syncfusion.com/aspnet/production /api/Kanban",
27
27
adaptor: new TaskIdAdaptor()
28
28
});
29
29
}
Original file line number Diff line number Diff line change 25
25
}
26
26
var kanban = document.querySelector('#kanban').ej2_instances[0];
27
27
kanban.dataSource = new ej.data.DataManager({
28
- url: "https://ej2services .syncfusion.com/production/web-services /api/Kanban",
28
+ url: "https://services .syncfusion.com/aspnet/production /api/Kanban",
29
29
adaptor: new TaskIdAdaptor()
30
30
});
31
31
}
Original file line number Diff line number Diff line change 13
13
var kanbanObj = this;
14
14
var button = document.getElementById('btn');
15
15
button.addEventListener("click", function (e) {
16
- let ajax = new ej.base.Ajax("https://ej2services .syncfusion.com/production/web-services /api/Orders", "GET");
16
+ let ajax = new ej.base.Ajax("https://services .syncfusion.com/aspnet/production /api/Orders", "GET");
17
17
ajax.send();
18
18
ajax.onSuccess = function (data) {
19
19
kanbanObj.dataSource = JSON.parse(data);
Original file line number Diff line number Diff line change 13
13
var kanbanObj = this;
14
14
var button = document.getElementById('btn');
15
15
button.addEventListener("click", function (e) {
16
- let ajax = new ej.base.Ajax("https://ej2services .syncfusion.com/production/web-services /api/Orders", "GET");
16
+ let ajax = new ej.base.Ajax("https://services .syncfusion.com/aspnet/production /api/Orders", "GET");
17
17
ajax.send();
18
18
ajax.onSuccess = function (data) {
19
19
kanbanObj.dataSource = JSON.parse(data);
Original file line number Diff line number Diff line change 1
1
@Html.EJS().Kanban("kanban").KeyField("Status").AllowDragAndDrop(false).DataSource(dataManger => {
2
- dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/Kanban").CrossDomain(true).Adaptor("ODataAdaptor");
2
+ dataManger.Url("https://services .syncfusion.com/aspnet/production /api/Kanban").CrossDomain(true).Adaptor("ODataAdaptor");
3
3
}).Columns(col=> {
4
4
col.HeaderText("To Do").KeyField("Open").Add();
5
5
col.HeaderText("In Progress").KeyField("InProgress").Add();
Original file line number Diff line number Diff line change 1
1
<ejs-kanban id="Kanban" keyField="Status" allowDragAndDrop="false" dialogOpen="dialogOpen" >
2
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Kanban" adaptor="ODataAdaptor" crossdomain="true"></e-data-manager>
2
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Kanban" adaptor="ODataAdaptor" crossdomain="true"></e-data-manager>
3
3
<e-kanban-columns>
4
4
<e-kanban-column headerText="To Do" keyField="Open"></e-kanban-column>
5
5
<e-kanban-column headerText="In Progress" keyField="InProgress"></e-kanban-column>
Original file line number Diff line number Diff line change 1
1
@Html.EJS().Kanban("kanban").KeyField("Status").AllowDragAndDrop(false).DataSource(dataManger =>
2
- { dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/Kanban").CrossDomain(true);
2
+ { dataManger.Url("https://services .syncfusion.com/aspnet/production /api/Kanban").CrossDomain(true);
3
3
}).Columns(col=> {
4
4
col.HeaderText("To Do").KeyField("Open").Add();
5
5
col.HeaderText("In Progress").KeyField("InProgress").Add();
Original file line number Diff line number Diff line change 1
1
<ejs-kanban id="Kanban" keyField="Status" allowDragAndDrop="false" dialogOpen="dialogOpen" >
2
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Kanban" crossdomain="true"></e-data-manager>
2
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Kanban" crossdomain="true"></e-data-manager>
3
3
<e-kanban-columns>
4
4
<e-kanban-column headerText="To Do" keyField="Open"></e-kanban-column>
5
5
<e-kanban-column headerText="In Progress" keyField="InProgress"></e-kanban-column>
You can’t perform that action at this time.
0 commit comments