FilterDescriptors not work after update collection in ItemsSource

1 posts, 0 answers
  1. kity
    kity avatar
    71 posts
    Member since:
    Mar 2012

    Posted 07 Aug 2014 Link to this post

    <telerik:RadGridView ItemsSource="{Binding Path=ShipCollection, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"
                                         SelectionMode="Single" SelectedItem="{Binding Path=SelectedEvent, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}" 
                                         AutoGenerateColumns="False" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" CanUserDeleteRows="False" IsFilteringAllowed="True">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn Header="NASA Ship" DataMemberBinding="{Binding Ship, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}" Width="*" IsReadOnly="True" />
                           
                            <!--<telerik:GridViewDataColumn DataMemberBinding="{Binding Visible, Mode=TwoWay}" FilterMemberPath="Visible" IsFilterable="True" ShowFilterButton="False" />-->                                                 
                        </telerik:RadGridView.Columns>                    <telerik:RadGridView.FilterDescriptors>
                            <data:CompositeFilterDescriptor LogicalOperator="Or">
                                <data:CompositeFilterDescriptor.FilterDescriptors>
                                    <data:FilterDescriptor Member="Visible" Operator="IsEqualTo" Value="True" />
                                </data:CompositeFilterDescriptor.FilterDescriptors>
                            </data:CompositeFilterDescriptor>
                        </telerik:RadGridView.FilterDescriptors>                </telerik:RadGridView>
Back to Top