File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments