Filtering on children object property
See original GitHub issueSalut Gilles !
The filtering on a property of a children object doesn’t seem to work. (See the last column)
<filterdatagrid:FilterDataGrid
Style="{DynamicResource MaterialDesignDataGrid}"
ItemsSource="{Binding Documents, UpdateSourceTrigger=PropertyChanged}"
SelectedItem="{Binding SelectedDocument}"
FontSize="12"
Grid.Row="1"
MinHeight="150"
MaxHeight="250"
FilterLanguage="French"
AutoGenerateColumns="False"
CanUserAddRows="False"
CanUserDeleteRows="False"
SelectionMode="Single"
SelectionUnit="FullRow">
<filterdatagrid:FilterDataGrid.Columns>
<filterdatagrid:DataGridTemplateColumn
Width="50"
>
<filterdatagrid:DataGridTemplateColumn.CellTemplate>
<DataTemplate
>
<materialDesign:PackIcon
Kind="{Binding DocumentIcon}"
Foreground="{Binding LifeCycleVM.CurrentLifeCycle.Background}" />
</DataTemplate>
</filterdatagrid:DataGridTemplateColumn.CellTemplate>
</filterdatagrid:DataGridTemplateColumn>
<filterdatagrid:DataGridTextColumn
Header="Code"
Binding="{Binding Code}"
Width="150"
IsReadOnly="True"
IsColumnFiltered="True"
/>
<filterdatagrid:DataGridTextColumn
Header="Révision"
Binding="{Binding Revision}"
Width="125"
IsReadOnly="True"
/>
<filterdatagrid:DataGridTextColumn
Header="Version"
Binding="{Binding LatestDocumentVersion.FormattedVersion}"
Width="80"
IsReadOnly="True" />
<filterdatagrid:DataGridTextColumn
Header="Description"
Binding="{Binding Name}"
Width="250"
IsReadOnly="True"
IsColumnFiltered="True" />
<filterdatagrid:DataGridTextColumn
Header="Cycle de vie"
Binding="{Binding LifeCycleVM.CurrentLifeCycle.Description}"
Width="500"
IsReadOnly="True"
IsColumnFiltered="True" />
</filterdatagrid:FilterDataGrid.Columns>
</filterdatagrid:FilterDataGrid>
Is it a limitation or am I missing something?
Thanks in advance,
Sébastien
Issue Analytics
- State:
- Created 8 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to filter on properties of children object and return ...
I want to filter on the property of children object and return parents with children that passes the filter. I tried with combination...
Read more >Filter an array of objects, checking only specified properties ...
The function filterList recieves an array of objects and filters the list, checking only the properties of the object specified in a ' ......
Read more >Filtering Nested Child Objects - Elasticsearch
I am trying to fine tune the query on a nested collection. The nested collection should match all the criteria and the size...
Read more >Injecting additional children filters or filtering resulting list of ...
The problem is that my T has some child collections which I need to filter based on some property of each of the...
Read more >Stage 5: Implementing a Filter to Prevent Learning Child Objects
In this section, you create a filter to prevent UFT One from learning all of the UsedBooks control's children along with the control....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I will test this weekend and if everything is good I merge the request
I’ve pushed a pull request #96