Skip to content

Commit 4337975

Browse files
project renamed
1 parent 5948e3a commit 4337975

22 files changed

+40
-28
lines changed

Server with Global and None/Components/Pages/Home.razor

Lines changed: 0 additions & 25 deletions
This file was deleted.

Server with Global and None/Components/App.razor renamed to Server-Global-None/Components/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<base href="/" />
88
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
99
<link rel="stylesheet" href="app.css" />
10-
@* <link rel="stylesheet" href="Server with Global and None.styles.css" /> *@
10+
<link rel="stylesheet" href="Server_with_Global_and_None.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
1313
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

Server with Global and None/Components/Layout/MainLayout.razor renamed to Server-Global-None/Components/Layout/MainLayout.razor

File renamed without changes.

Server with Global and None/Components/Layout/MainLayout.razor.css renamed to Server-Global-None/Components/Layout/MainLayout.razor.css

File renamed without changes.

Server with Global and None/Components/Layout/NavMenu.razor renamed to Server-Global-None/Components/Layout/NavMenu.razor

File renamed without changes.

Server with Global and None/Components/Layout/NavMenu.razor.css renamed to Server-Global-None/Components/Layout/NavMenu.razor.css

File renamed without changes.

Server with Global and None/Components/Pages/Counter.razor renamed to Server-Global-None/Components/Pages/Counter.razor

File renamed without changes.
File renamed without changes.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@page "/"
2+
3+
<PageTitle>Server-Global-None</PageTitle>
4+
5+
<SfGrid DataSource="@Orders" AllowPaging="true" AllowSorting="true" AllowFiltering="true" AllowGrouping="true">
6+
<GridPageSettings PageSize="5"></GridPageSettings>
7+
<GridColumns>
8+
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
9+
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
10+
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
11+
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
12+
</GridColumns>
13+
</SfGrid>
14+
15+
@code
16+
{
17+
public List<Order> Orders { get; set; }
18+
19+
protected override void OnInitialized()
20+
{
21+
Orders = Enumerable.Range(1, 75).Select(x => new Order()
22+
{
23+
OrderID = 1000 + x,
24+
CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
25+
Freight = 2.1 * x,
26+
OrderDate = DateTime.Now.AddDays(-x),
27+
}).ToList();
28+
}
29+
30+
public class Order
31+
{
32+
public int? OrderID { get; set; }
33+
public string CustomerID { get; set; }
34+
public DateTime? OrderDate { get; set; }
35+
public double? Freight { get; set; }
36+
}
37+
}

Server with Global and None/Components/Pages/Weather.razor renamed to Server-Global-None/Components/Pages/Weather.razor

File renamed without changes.

0 commit comments

Comments
 (0)