Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion server/Blazor-Feature-Rich-DataGrid/BlazorGrid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Syncfusion.Blazor" Version="*" />
<PackageReference Include="Syncfusion.Blazor.Grid" Version="*" />
<PackageReference Include="Syncfusion.Blazor.ProgressBar" Version="*" />
<PackageReference Include="Syncfusion.Blazor.Themes" Version="*" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion server/Blazor-Feature-Rich-DataGrid/Components/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Syncfusion Blazor | DataGrid | Explore the DataGrid's features and its functionalities</title>
<base href="/" />
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="app.css" />
Expand All @@ -16,7 +17,7 @@
<link rel="stylesheet" href="Material 3/Showcase Material3/style.css">
<link href=@("_content/Syncfusion.Blazor.Themes/" + themeName + ".css") rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.syncfusion.com/content/stylesheets/components/bootstrap/BootstrapLayoutv132.min.css">
<script src="https://cdn.syncfusion.com/blazor/32.1.19/syncfusion-blazor.min.js" type="text/javascript"></script>
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
<script src="js/index.js"></script>
<HeadOutlet />
</head>
Expand Down
18 changes: 13 additions & 5 deletions server/Blazor-Feature-Rich-DataGrid/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@

<style>

.e-bigger .e-grid .e-summarycell {
padding: 0px !important;
}

.e-bigger #sumvalues {
margin-top: 10px;
}

.checkbox-item {
display: flex;
align-items: center;
Expand Down Expand Up @@ -2926,10 +2934,10 @@
{"Enable Reordering", "The boolean value that indicates whether users can reorder columns in the Grid by dragging and dropping them. When the Grid is rendered with stacked headers, column reordering is restricted to columns within the same header level."},
{"Enable Searching", "All columns in the Grid are searchable by default. To disable search for a specific column, set its property to false in the column."},
{"Enable Resizing", "The boolean value that indicates whether users can adjust the width of a column by dragging its header edge. By default, resizing is allowed for all columns. To disable resizing for a specific column, set its property to false."},
{ "Enable Sorting", "Enables sorting of grid columns by clicking the sort icon in the column header. The first click sorts the data in ascending order, and subsequent clicks toggle between ascending and descending. To disable sorting for a specific column, set allowSorting to false." },
{ "Enable Sorting", "Enables sorting of grid columns by clicking the sort icon in the column header. The first click sorts the data in ascending order, and subsequent clicks toggle between ascending and descending. To disable sorting for a specific column, set AllowSorting to false." },
{ "Enable Multi-Column Sorting", "When sorting is enabled, users can sort multiple columns by holding Shift or Ctrl while clicking on the column headers." },
{ "Enable Filtering", "A boolean value that controls the visibility of the filter bar for all grid columns. Users can customize the filter type using the type property. To disable filtering for a specific column, set its allowFiltering property to false." },
{ "Enable Grouping", "Enables users to group or ungroup grid columns by dragging headers to the group drop area. To disable grouping for a specific column, set its allowGrouping property to false." },
{ "Enable Filtering", "A boolean value that controls the visibility of the filter bar for all grid columns. Users can customize the filter type using the type property. To disable filtering for a specific column, set its AllowFiltering property to false." },
{ "Enable Grouping", "Enables users to group or ungroup grid columns by dragging headers to the group drop area. To disable grouping for a specific column, set its AllowGrouping property to false." },
{ "Show Grouped Column Reordering", "Enables reordering of grouped grid columns in the droping area. To disable reordering for a specific column, set its property to false." },
{ "Enable Paging", "Enables a pager at the footer of the grid, allowing users to navigate through pages of data." },
{ "Enable Immutable Mode", "The enableImmutableMode property is set to true, the grid will reuse old rows if it exists in the new result instead of full refresh while performing the grid actions."} ,
Expand Down Expand Up @@ -2980,11 +2988,11 @@
{ "Min", "Displays the smallest value in the column." },
{ "Max", "Displays the largest value in the column." },
{ "Count", "Shows the number of records in the column." },
{ "Allow selection", "The allowSelection property is set to true, it allows selection of (highlight row) Grid records by clicking it" },
{ "Allow selection", "The AllowSelection property is set to true, it allows selection of (highlight row) Grid records by clicking it" },
{ "Type", "Specifies the available filtering types, determining how data is filtered in the grid." },
{ "Clip Mode", "Specifies how overflowed cell content is displayed in the grid." },
{ "Freeze", "Specifies the column freeze direction in the grid." },
{ "Searching", "The allowSearching property is set to false, then it disables Searching of a particular column. By default all columns allow Searching." },
{ "Searching", "The AllowSearching property is set to false, then it disables Searching of a particular column. By default all columns allow Searching." },
{ "Display as HTML encode", "The disableHtmlEncode property is set to true, it encodes the HTML of the header and content cells." },
{ "Format", "Formats the displayed value without altering the original data. Supports standard and custom number or date formats." },
{ "Group by format", "The enableGroupByFormat property is set to true, then it groups the particular column by formatted values. By default no columns are group by format." },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public List<OrderData> GetOrders()
int randomIndex = rnd.Next(productValues.Length);
string statusValue = orderStatus[rnd.Next(orderStatus.Length)];
string customer = customerNames[rnd.Next(customerNames.Length)];
string gender = femaleNames.Contains(customer) ? "Female" : maleNames.Contains(customer) ? "Male" : "Unknown";
string gender = femaleNames.Contains(customer) ? "Female" : "Male";
orders.Add(new OrderData
{
Id = i,
Expand Down
Loading