Skip to content

Commit

Permalink
Filtering complex content documentation (#110)
Browse files Browse the repository at this point in the history
* Filtering and Sorting a Template Column

* text fix
  • Loading branch information
magauthier-liggo authored Mar 19, 2024
1 parent 715bb19 commit a8b0e4a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/topics/Filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,20 @@ By overriding the default template you can simply create individual filters:

![Sample2](Filtering_Sample2.jpg)

### Filtering and Sorting a Template Column
Since a Template Column may contain everything, we must specify which member will be used to filter and sort content using `SortMemberPath`:

```xml
<DataGridTemplateColumn Header="Template"
SortMemberPath="Column5"
dgx:DataGridFilterColumn.Template="{StaticResource MultipleChoiceFilter}">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate DataType="{x:Type basicSample:DataItem}" >
<TextBox Text="{Binding Column5}"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
```


For further details take a tour through the code of the sample application to see the many possibilities how to use and customize it.

0 comments on commit a8b0e4a

Please sign in to comment.