Skip to content
Open
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
4 changes: 2 additions & 2 deletions blazor/listbox/sorting-grouping.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ In the following example, `SortOrder` is set to `Descending`.
@using Syncfusion.Blazor.DropDowns

<SfListBox TValue="string[]" DataSource="@CountryData" SortOrder="Syncfusion.Blazor.DropDowns.SortOrder.Descending" TItem="CountryCode">
<ListBoxFieldSettings Text="Name" Value="Code" />
<ListBoxFieldSettings Text="Name" Value="Code" />
</SfListBox>

@code {
Expand Down Expand Up @@ -58,7 +58,7 @@ Watch the video below for a quick introduction to grouping in the Blazor ListBox
@using Syncfusion.Blazor.DropDowns

<SfListBox TValue="string[]" DataSource="@VegetableData" TItem="VegetableDetail">
<ListBoxFieldSettings GroupBy = "Category" Text="Vegetable" Value="Id" />
<ListBoxFieldSettings GroupBy="Category" Text="Vegetable" Value="Id" />
</SfListBox>

@code {
Expand Down
2 changes: 2 additions & 0 deletions blazor/listbox/style-and-appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Use the [CssClass](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DropD
{% tabs %}
{% highlight razor %}

@using Syncfusion.Blazor.DropDowns

<div id="listbox-control">
<h6>Select your favorite car:</h6>
<SfListBox Value=@Value CssClass="e-horizontal-listbox" DataSource="@Data" TValue="string[]" TItem="DataValues"></SfListBox>
Expand Down