Skip to content

Commit 0430c67

Browse files
Merge pull request #4820 from syncfusion-content/907597-Sample
907597: Fix the null exception for the multiselect.
2 parents 658d8f9 + 31148be commit 0430c67

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

blazor/datagrid/cell-edit-types.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,14 @@ You can able to render SfMultiSelect component in EditTemplate. In the below sam
744744
<Template>
745745
@{
746746
var d = (context as Order).ChosenItems;
747-
<span>@String.Join(",", d)</span>
747+
if (d != null)
748+
{
749+
<span>@String.Join(",", d)</span>
750+
}
751+
else
752+
{
753+
<span>@String.Empty</span>
754+
}
748755
}
749756
</Template>
750757
</GridColumn>

blazor/datagrid/filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ The **WildCard** filter can process one or more search patterns using the “*
489489
* The **WildCard** filter option is supported for the DataGrid that has all search options.
490490

491491
Operator |Description
492-
-----|-----|
492+
-----|-----
493493
a*b | Everything that starts with “a” and ends with “b”.
494494
a* | Everything that starts with “a”.
495495
*b | Everything that ends with “b”.

0 commit comments

Comments
 (0)