Skip to content

Commit 84ed740

Browse files
993869:Resolve Conflicts
1 parent 351907d commit 84ed740

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

blazor/datagrid/searching.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop
213213

214214
{% tabs %}
215215
{% highlight razor tabtitle="Index.razor" %}
216+
@using Syncfusion.Blazor
216217
@using Syncfusion.Blazor.Grids
217218
@using Syncfusion.Blazor.DropDowns
218219

@@ -223,6 +224,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop
223224
</SfDropDownList>
224225

225226
<SfGrid DataSource="@Orders" Toolbar=@ToolbarItems>
227+
<GridSearchSettings Operator="@SearchOperator"></GridSearchSettings>
226228
<GridColumns>
227229
<GridColumn Field=@nameof(OrderData.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>
228230
<GridColumn Field=@nameof(OrderData.CustomerID) HeaderText="Customer ID" Width="150"></GridColumn>
@@ -246,14 +248,6 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop
246248
public Operator Value { get; set; }
247249
}
248250

249-
public enum Operator
250-
{
251-
StartsWith,
252-
EndsWith,
253-
Contains,
254-
Equal
255-
}
256-
257251
List<DropDownOrder> DropDownData = new List<DropDownOrder>
258252
{
259253
new DropDownOrder(){Text="StartsWith",Value= Operator.StartsWith },
@@ -316,7 +310,7 @@ The following example demonstrates how to set the `SearchSettings.Operator` prop
316310
{% endhighlight %}
317311
{% endtabs %}
318312

319-
{% previewsample "https://blazorplayground.syncfusion.com/embed/hZBgCXKXMPQpCngI?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
313+
{% previewsample "https://blazorplayground.syncfusion.com/embed/rtheMWibUKtkPFVK?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5" %}
320314

321315
## Search by external button
322316

0 commit comments

Comments
 (0)