Skip to content

Commit 59f7b36

Browse files
Projects renamed using hyphens instead of space
1 parent 5b49ee4 commit 59f7b36

File tree

60 files changed

+235
-781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+235
-781
lines changed

SSR-Global-Individual/Components/App.razor

+1-1
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="SSR with Global and Individual.styles.css" /> *@
10+
<link rel="stylesheet" href="SSR_with_Global_and_Individual.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link rel="stylesheet" href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" />
1313
<HeadOutlet />
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
11
@page "/"
2-
@using Syncfusion.Blazor.Grids
32

4-
<PageTitle>Home</PageTitle>
3+
<PageTitle>SSR-Global-Individual</PageTitle>
54

6-
<SfGrid DataSource="@Orders" AllowPaging="true" AllowSorting="true" AllowFiltering="true" AllowGrouping="true" />
5+
<SfGrid DataSource="@Orders">
6+
<GridColumns>
7+
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
8+
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
9+
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
10+
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
11+
</GridColumns>
12+
</SfGrid>
713

8-
@code {
14+
@code
15+
{
916
public List<Order> Orders { get; set; }
1017

1118
protected override void OnInitialized()
1219
{
13-
Orders = Enumerable.Range(1, 50).Select(x => new Order()
20+
Orders = Enumerable.Range(1, 10).Select(x => new Order()
1421
{
15-
OrderID = 0 + x,
22+
OrderID = 1000 + x,
1623
CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
24+
Freight = 2.1 * x,
25+
OrderDate = DateTime.Now.AddDays(-x),
1726
}).ToList();
1827
}
1928

2029
public class Order
2130
{
2231
public int? OrderID { get; set; }
2332
public string CustomerID { get; set; }
24-
33+
public DateTime? OrderDate { get; set; }
34+
public double? Freight { get; set; }
2535
}
2636
}

SSR-Global-Individual/Components/_Imports.razor

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
@using Microsoft.JSInterop
1010
@using SSR_with_Global_and_Individual
1111
@using SSR_with_Global_and_Individual.Components
12+
@using Syncfusion.Blazor
13+
@using Syncfusion.Blazor.Grids

SSR-Global-Individual/SSR with Global and Individual.csproj

-21
This file was deleted.

SSR-Global-Individual/SSR with Global and Individual.sln

-25
This file was deleted.

SSR-Global-None/Components/App.razor

+1-1
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="SSR with Global and None.styles.css" /> *@
10+
<link rel="stylesheet" href="SSR_with_Global_and_None.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link rel="stylesheet" href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" />
1313
<HeadOutlet />
+16-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
11
@page "/"
2-
@using Syncfusion.Blazor.Grids
32

4-
<PageTitle>Home</PageTitle>
3+
<PageTitle>SSR-Global-None</PageTitle>
54

6-
<SfGrid DataSource="@Orders" />
5+
<SfGrid DataSource="@Orders">
6+
<GridColumns>
7+
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
8+
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
9+
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
10+
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
11+
</GridColumns>
12+
</SfGrid>
713

8-
@code {
14+
@code
15+
{
916
public List<Order> Orders { get; set; }
1017

1118
protected override void OnInitialized()
1219
{
1320
Orders = Enumerable.Range(1, 10).Select(x => new Order()
1421
{
15-
OrderID = 0 + x,
22+
OrderID = 1000 + x,
1623
CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
24+
Freight = 2.1 * x,
25+
OrderDate = DateTime.Now.AddDays(-x),
1726
}).ToList();
1827
}
1928

2029
public class Order
2130
{
2231
public int? OrderID { get; set; }
2332
public string CustomerID { get; set; }
24-
33+
public DateTime? OrderDate { get; set; }
34+
public double? Freight { get; set; }
2535
}
2636
}

SSR-Global-None/Components/_Imports.razor

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
@using Microsoft.JSInterop
99
@using SSR_with_Global_and_None
1010
@using SSR_with_Global_and_None.Components
11+
@using Syncfusion.Blazor
12+
@using Syncfusion.Blazor.Grids

SSR-Global-None/SSR with Global and None.csproj

-14
This file was deleted.

SSR-Global-None/SSR with Global and None.sln

-25
This file was deleted.

SSR-PerPage-Individual/Components/App.razor

+1-1
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="SSR with Per Page and Individual.styles.css" /> *@
10+
<link rel="stylesheet" href="SSR_with_Per_Page_and_Individual.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link rel="stylesheet" href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" />
1313
<HeadOutlet />
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
11
@page "/"
22

3-
@using Syncfusion.Blazor.Grids
3+
<PageTitle>SSR-PerPage-Individual</PageTitle>
44

5-
<PageTitle>Home</PageTitle>
5+
<SfGrid DataSource="@Orders">
6+
<GridColumns>
7+
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
8+
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
9+
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
10+
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
11+
</GridColumns>
12+
</SfGrid>
613

7-
<SfGrid DataSource="@Orders" />
8-
9-
@code {
14+
@code
15+
{
1016
public List<Order> Orders { get; set; }
1117

1218
protected override void OnInitialized()
1319
{
1420
Orders = Enumerable.Range(1, 10).Select(x => new Order()
1521
{
16-
OrderID = 0 + x,
22+
OrderID = 1000 + x,
1723
CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
24+
Freight = 2.1 * x,
25+
OrderDate = DateTime.Now.AddDays(-x),
1826
}).ToList();
1927
}
2028

2129
public class Order
2230
{
2331
public int? OrderID { get; set; }
2432
public string CustomerID { get; set; }
25-
33+
public DateTime? OrderDate { get; set; }
34+
public double? Freight { get; set; }
2635
}
2736
}

SSR-PerPage-Individual/Components/_Imports.razor

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
@using Microsoft.JSInterop
1010
@using SSR_with_Per_Page_and_Individual
1111
@using SSR_with_Per_Page_and_Individual.Components
12+
@using Syncfusion.Blazor
13+
@using Syncfusion.Blazor.Grids

SSR-PerPage-Individual/SSR with Per Page and Individual.csproj

-21
This file was deleted.

SSR-PerPage-Individual/SSR with Per Page and Individual.sln

-25
This file was deleted.

SSR-PerPage-None/Components/App.razor

+1-1
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="SSR with Per Page and None.styles.css" /> *@
10+
<link rel="stylesheet" href="SSR_with_Per_Page_and_None.styles.css" />
1111
<link rel="icon" type="image/png" href="favicon.png" />
1212
<link rel="stylesheet" href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" />
1313
<HeadOutlet />
+17-8
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
11
@page "/"
22

3-
@using Syncfusion.Blazor.Grids
3+
<PageTitle>SSR-PerPage-None</PageTitle>
44

5-
<PageTitle>Home</PageTitle>
5+
<SfGrid DataSource="@Orders">
6+
<GridColumns>
7+
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
8+
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
9+
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
10+
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
11+
</GridColumns>
12+
</SfGrid>
613

7-
<SfGrid DataSource="@Orders" />
8-
9-
@code {
14+
@code
15+
{
1016
public List<Order> Orders { get; set; }
1117

1218
protected override void OnInitialized()
1319
{
14-
Orders = Enumerable.Range(1, 50).Select(x => new Order()
20+
Orders = Enumerable.Range(1, 10).Select(x => new Order()
1521
{
16-
OrderID = 0 + x,
22+
OrderID = 1000 + x,
1723
CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
24+
Freight = 2.1 * x,
25+
OrderDate = DateTime.Now.AddDays(-x),
1826
}).ToList();
1927
}
2028

2129
public class Order
2230
{
2331
public int? OrderID { get; set; }
2432
public string CustomerID { get; set; }
25-
33+
public DateTime? OrderDate { get; set; }
34+
public double? Freight { get; set; }
2635
}
2736
}

SSR-PerPage-None/SSR with Per Page and None.csproj

-16
This file was deleted.

0 commit comments

Comments
 (0)