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

Issue using GridView Filter with radDataFilter

1 Answer 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Narendra
Top achievements
Rank 1
Narendra asked on 15 Apr 2011, 09:22 AM

Hello Team,
 
We are using radDataFilter and Gridview filter on a xaml, here is a scnerio-
RadGridview has both the filters radDataFilter and GridView(Columns Filter).
The gridview is dependent on radDataFilter datasource called “FilteredSource”. 
In the same context if we apply the filter on Gridview filter, the color of funnel icon must changed, but its not happening.


Code:

<telerik:RadDataFilter Name="radDataFilter"

DockPanel.Dock="Top"

Visibility="{Binding Path=IsVisible, Mode=OneWay}"

Source="{Binding Shipments}"

Margin="1">

</telerik:RadDataFilter>

<ydd:YodelGridView x:Name="ShipmentGrid"

SelectionMode="Extended"

IsSynchronizedWithCurrentItem="True"

ItemsSource="{Binding FilteredSource, ElementName=radDataFilter}"

IsFilteringAllowed="True"

CanUserFreezeColumns="False"

AutoGenerateColumns="False"

IsReadOnly="True"

SelectionUnit="FullRow"

ScrollViewer.HorizontalScrollBarVisibility="Auto"

ScrollViewer.VerticalScrollBarVisibility="Auto">

Could you please look into this and suggest the solution.

Regards,
Narendra Ughade

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 18 Apr 2011, 11:39 AM
Hello Narendra,

You can't mix RadGridView's column filters with RadDataFilter. This is described in the documentation. You have to chose either RadDataFilter or the RadGridView's column filters but never both.

If you think about it, the end-user can create infinitely complex nested filters in RadDataFilter which can never be displayed in RadGridView's column filtering UI. That is why they are alternatives and cannot be used together.

I hope this helps.

Best wishes,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Narendra
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or