Skip to content

Commit 051015b

Browse files
Merge branch 'DataGrid_UIFiltering' of https://github.com/syncfusion-content/maui-docs into DataGrid_UIFiltering
2 parents 508bea9 + 387f5e9 commit 051015b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

MAUI/DataGrid/filtering.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -226,18 +226,18 @@ The SfDataGrid filter UI consists of two distinct user interfaces.
226226

227227
The following image shows the checkbox filter popup menu on the desktop platform,
228228

229-
<img alt="Checkbox filtering UI" src="images/filtering/maui-datagrid-filtering-checkbox-filtering.png" width="500"/>
229+
<img alt="Checkbox filtering UI" src="Images/filtering/maui-datagrid-filtering-checkbox-filtering.png" width="500"/>
230230

231231
The following image shows the advanced filter popup menu on the desktop platform,
232232

233-
<img alt="Advanced filtering UI" src="images/filtering/maui-datagrid-filtering-advanced-filtering.png" width="500"/>
233+
<img alt="Advanced filtering UI" src="Images/filtering/maui-datagrid-filtering-advanced-filtering.png" width="500"/>
234234

235235
### Checkbox filtering
236236
Checkbox filtering is similar to Excel's filter popup, which displays a checked list box of unique items along with a search text field. The items which are in the checked state will be visible in the view. Other items will be filtered out from the view.
237237

238238
The checkbox filter popup menu with a few selected values in the checkbox list view for filtering is displayed in the following image.
239239

240-
<img alt="Checkbox filtering with selected values" src="images/filtering/maui-datagrid-filtering-checkbox-filtering-with-selectedvalues.png" width="500"/>
240+
<img alt="Checkbox filtering with selected values" src="Images/filtering/maui-datagrid-filtering-checkbox-filtering-with-selectedvalues.png" width="500"/>
241241

242242
### Advanced filtering
243243
Multiple filter choices are available in the advanced filter UI to make data filtering simple. By automatically identifying the underlying date type, filter menu options are loaded based on the Advanced filter type.
@@ -372,7 +372,7 @@ We can change the filter UI for all the columns in DataGrid by changing the `Fil
372372
{% endhighlight %}
373373
{% endtabs %}
374374

375-
<img alt="Filter mode as advanced filter" src="images/filtering/maui-datagrid-filtering-filterMode-advanced.png" width="500"/>
375+
<img alt="Filter mode as advanced filter" src="Images/filtering/maui-datagrid-filtering-filterMode-advanced.png" width="500"/>
376376

377377
### Changing filter UI for particular column
378378
Filter UI view can be changed for a particular column in DataGrid by changing the `FilterMode` property in DataGridFilterView by writing style and added it to [DataGridColumn.FilterPopupStyle]() property.
@@ -391,7 +391,7 @@ Filter UI view can be changed for a particular column in DataGrid by changing th
391391
{% endhighlight %}
392392
{% endtabs %}
393393

394-
<img alt="Filter mode as checkbox filter" src="images/filtering/maui-datagrid-filtering-filter-mode-checkbox.png" width="500"/>
394+
<img alt="Filter mode as checkbox filter" src="Images/filtering/maui-datagrid-filtering-filter-mode-checkbox.png" width="500"/>
395395

396396
## Changing Advanced filter type
397397
[FilterBehavior]() determines the Advanced filter type loaded in filter view. You can change the advanced filter type using `FilterBehavior`.
@@ -429,7 +429,7 @@ Setting `FilterMode` to AdvancedFilter and [CanGenerateUniqueItems]() to `false`
429429
{% endhighlight %}
430430
{% endtabs %}
431431

432-
<img alt="loading performance in advanced filter" src="images/filtering/maui-datagrid-filtering-canGenerateUniqueItems-false.png" width="500"/>
432+
<img alt="loading performance in advanced filter" src="Images/filtering/maui-datagrid-filtering-canGenerateUniqueItems-false.png" width="500"/>
433433

434434
## Filtering null values
435435
By default the [AllowBlankFilters]() property is set to true. So, the filter items must have null values. `AllowBlankFilters` must be set to `false` if you want to remove null values from the list of filter items.
@@ -447,11 +447,11 @@ dataGrid.Columns["OrderID"].AllowBlankFilters = false;
447447

448448
Checkbox Filter with `AllowBlankFilters` as `True`
449449

450-
<img alt="Blank filtering in checkbox filtering" src="images/filtering/maui-datagrid-null-filtering-checkbox.png" width="500"/>
450+
<img alt="Blank filtering in checkbox filtering" src="Images/filtering/maui-datagrid-null-filtering-checkbox.png" width="500"/>
451451

452452
Advanced Filter with `AllowBlankFilters` as `True`
453453

454-
<img alt="Blank filtering in advanced filtering" src="images/filtering/maui-datagrid-null-filtering-advanced.png" width="500"/>
454+
<img alt="Blank filtering in advanced filtering" src="Images/filtering/maui-datagrid-null-filtering-advanced.png" width="500"/>
455455

456456
## Instant Filtering
457457
By default, filtering is applied to the columns when OK button is clicked in UI filtering. You must set [ImmediateUpdateColumnFilter]() to True if you wish to update the filters instantly whenever the filter items are updated in the filter popup menu.
@@ -468,10 +468,10 @@ dataGrid.Columns["OrderID"].ImmediateUpdateColumnFilter = true;
468468
{% endtabs %}
469469

470470
Checkbox Filter with `ImmediateUpdateColumnFilter` as `True`
471-
<img alt="Instant filtering in checkbox filtering" src="images/filtering/maui-datagrid-instant-filtering-checkbox.png" width="500"/>
471+
<img alt="Instant filtering in checkbox filtering" src="Images/filtering/maui-datagrid-instant-filtering-checkbox.png" width="500"/>
472472

473473
Advanced Filter with `ImmediateUpdateColumnFilter` as `True`
474-
<img alt="Instant filtering in advanced filtering" src="images/filtering/maui-datagrid-instant-filtering-advanced.png" width="500"/>
474+
<img alt="Instant filtering in advanced filtering" src="Images/filtering/maui-datagrid-instant-filtering-advanced.png" width="500"/>
475475

476476
## Customizing the filter popup menu options
477477
### Visibility of sort options
@@ -492,7 +492,7 @@ The sort options in the filter popup will be enabled only when we set [SortingMo
492492
{% endhighlight %}
493493
{% endtabs %}
494494

495-
<img alt="sort options visibility" src="images/filtering/maui-datagrid-filtering-sort-options-visibility.png" width="500"/>
495+
<img alt="sort options visibility" src="Images/filtering/maui-datagrid-filtering-sort-options-visibility.png" width="500"/>
496496

497497
### Customizing the sorting text
498498
We can customize the text present in the sort options using [AscendingSortString]() and [DescendingSortString]().
@@ -629,3 +629,4 @@ public class FilterIconTemplateSelector : DataTemplateSelector
629629
{% endtabs %}
630630

631631
<img src="Images/filtering/maui-datagrid-filtering-filterTemplate-selector.png" width="500" alt="Filter icon template selector">
632+

0 commit comments

Comments
 (0)