File tree Expand file tree Collapse file tree 12 files changed +15
-12
lines changed
ej2-asp-core-mvc/code-snippet
getting-started/contenttemplate
bullet-chart/target-bar/target-types Expand file tree Collapse file tree 12 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 35
35
<div>
36
36
<div>
37
37
<ejs-grid id="Grid" allowPaging="true">
38
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
38
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
39
39
<e-grid-columns>
40
40
<e-grid-column field="OrderID" headerText="Order ID" textAlign="Right" width="160"></e-grid-column>
41
41
<e-grid-column field="CustomerID" headerText="Customer ID" width="170"></e-grid-column>
Original file line number Diff line number Diff line change 41
41
42
42
@Html.EJS().Grid("Grid").Height(250).DataSource(dataManger =>
43
43
{
44
- dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/Orders").CrossDomain(true).Adaptor("WebApiAdaptor");
44
+ dataManger.Url("https://services .syncfusion.com/aspnet/production /api/Orders").CrossDomain(true).Adaptor("WebApiAdaptor");
45
45
}).Columns(col =>
46
46
{
47
47
Original file line number Diff line number Diff line change 46
46
47
47
<ejs-grid id="Grid2" height="250" allowPaging="true">
48
48
<e-grid-pageSettings pageCount="3"></e-grid-pageSettings>
49
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
49
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
50
50
<e-grid-columns>
51
51
<e-grid-column field="OrderID" headerText="Order ID" textAlign="Right" width="160"></e-grid-column>
52
52
<e-grid-column field="CustomerID" headerText="Customer ID" width="170"></e-grid-column>
Original file line number Diff line number Diff line change 1
- <ejs-bulletchart id="bulletgraph" title="'Sales Rate" minimum="0" maximum="100" interval="20" targetField="target" targetTypes="Circle" dataSource="ViewBag.dataSource">
1
+ @{
2
+ var targetType = new string[] { "Circle" };
3
+ }
4
+ <ejs-bulletchart id="bulletgraph" title="'Sales Rate" minimum="0" maximum="100" interval="20" targetField="target" targetTypes="targetType" dataSource="ViewBag.dataSource">
2
5
<e-bullet-range-collection>
3
6
<e-bullet-range end="35"></e-bullet-range>
4
7
<e-bullet-range end="50"></e-bullet-range>
Original file line number Diff line number Diff line change 6
6
.Readonly(true)
7
7
.EventSettings(e =>
8
8
e.DataSource(d =>
9
- d.Url("https://ej2services .syncfusion.com/production/web-services /api/Schedule")
9
+ d.Url("https://services .syncfusion.com/aspnet/production /api/Schedule")
10
10
.Adaptor("ODataV4Adaptor")
11
11
.CrossDomain(true)
12
12
)
Original file line number Diff line number Diff line change 3
3
4
4
@{
5
5
var dataManager = new DataManager() {
6
- Url = "https://ej2services .syncfusion.com/production/web-services /api/Schedule",
6
+ Url = "https://services .syncfusion.com/aspnet/production /api/Schedule",
7
7
Adaptor = "ODataV4Adaptor",
8
8
CrossDomain = true
9
9
};
Original file line number Diff line number Diff line change 5
5
.Height("550px")
6
6
.Readonly(true)
7
7
.EventSettings(e =>
8
- e.DataSource(d => d.Url("https://ej2services .syncfusion.com/development/web-services /odata/")
8
+ e.DataSource(d => d.Url("https://services .syncfusion.com/aspnet/production /odata/")
9
9
.Adaptor("ODataV4Adaptor")
10
10
.CrossDomain(true)
11
11
)
Original file line number Diff line number Diff line change 3
3
4
4
@{
5
5
var dataManager = new DataManager() {
6
- Url = "https://ej2services .syncfusion.com/development/web-services /odata/",
6
+ Url = "https://services .syncfusion.com/aspnet/production /odata/",
7
7
Adaptor = "ODataV4Adaptor",
8
8
CrossDomain = true
9
9
};
Original file line number Diff line number Diff line change 22
22
}
23
23
}
24
24
var dataManager = new ej.data.DataManager({
25
- url: 'https://ej2services .syncfusion.com/production/web-services /api/Schedule',
25
+ url: 'https://services .syncfusion.com/aspnet/production /api/Schedule',
26
26
adaptor: new CustomAdaptor
27
27
});
28
28
var schObj = document.querySelector('.e-schedule').ej2_instances[0];
Original file line number Diff line number Diff line change 18
18
}
19
19
}
20
20
var dataManager = new ej.data.DataManager({
21
- url: 'https://ej2services .syncfusion.com/production/web-services /api/Schedule',
21
+ url: 'https://services .syncfusion.com/aspnet/production /api/Schedule',
22
22
adaptor: new CustomAdaptor
23
23
});
24
24
Original file line number Diff line number Diff line change 33
33
@(Html.EJS().Grid("Grid1").Height(250)
34
34
.DataSource(dataManger =>
35
35
{
36
- dataManger.Url("https://ej2services .syncfusion.com/production/web-services /api/Orders").CrossDomain(true).Adaptor("WebApiAdaptor");
36
+ dataManger.Url("https://services .syncfusion.com/aspnet/production /api/Orders").CrossDomain(true).Adaptor("WebApiAdaptor");
37
37
})
38
38
.Columns(col =>
39
39
{
Original file line number Diff line number Diff line change 31
31
32
32
<ejs-grid id="Grid1" height="250" allowPaging="true">
33
33
<e-grid-pageSettings pageCount="3"></e-grid-pageSettings>
34
- <e-data-manager url="https://ej2services .syncfusion.com/production/web-services /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
34
+ <e-data-manager url="https://services .syncfusion.com/aspnet/production /api/Orders" crossdomain="true" adaptor="WebApiAdaptor"></e-data-manager>
35
35
<e-grid-columns>
36
36
<e-grid-column field="OrderID" headerText="Order ID" textAlign="Right" width="160"></e-grid-column>
37
37
<e-grid-column field="CustomerID" headerText="Customer ID" width="170"></e-grid-column>
You can’t perform that action at this time.
0 commit comments