This is a migrated thread and some comments may be shown as answers.

FilterDescriptors not work after update collection in ItemsSource

0 Answers 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kity
Top achievements
Rank 2
kity asked on 07 Aug 2014, 02:13 PM
<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>

No answers yet. Maybe you can help?

Tags
GridView
Asked by
kity
Top achievements
Rank 2
Share this question
or