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

RadDataFilter - DataTemplate with muliple selection RadComboBox

2 Answers 70 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Birgit
Top achievements
Rank 1
Birgit asked on 09 Jun 2017, 12:56 PM

Hello 

I have tried a RadDataFilter with RadComboBox as DataTemplate.

Is work's fine, but when i allow muliple Selection, the filter does not work as I expect (Only one value is filtered).

How do I have to make this work?

 

<Grid Margin="20">
        <Grid.Resources>
         
            <DataTemplate x:Key="ComboBoxEditor">
                <telerik:RadComboBox SelectedValue="{Binding Value, Mode=TwoWay, FallbackValue=null}" AllowMultipleSelection="True"/>
            </DataTemplate>
 
            <local:EditorTemplateSelector x:Key="EditorTemplateSelector">
                <local:EditorTemplateSelector.EditorTemplateRules>
                    <local:EditorTemplateRule PropertyName="MainCategory" DataTemplate="{StaticResource ComboBoxEditor}" />
                </local:EditorTemplateSelector.EditorTemplateRules>   
            </local:EditorTemplateSelector>
        </Grid.Resources>
 
    <telerik:RadDataFilter x:Name="radDataFilter"
                           Source="{Binding Items, ElementName=radGridView}"
                           EditorTemplateSelector="{StaticResource EditorTemplateSelector}">       
 
    <telerik:RadGridView x:Name="radGridView" Grid.Row="1" Grid.Column="0"
                         GroupRenderMode="Nested"
                         ItemsSource="{Binding M<View}"
                         IsFilteringAllowed="False"      
                         AutoGenerateColumns="False"
                         ShowGroupPanel="True"
                         IsReadOnly="True"
                         ShowSearchPanel="True">
        <telerik:RadGridView.Columns>
        ...
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
</Grid>

 

How to implement multi select RadComboBox with checkbox filter?

 

Thanks in advance for any help

2 Answers, 1 is accepted

Sort by
0
Birgit
Top achievements
Rank 1
answered on 13 Jun 2017, 11:14 AM

Is it common for the people of Telerik not to answer? I

assume no answer means that it is not possible.

0
Stefan
Telerik team
answered on 14 Jun 2017, 10:36 AM
Hello Birgit,

I have replied you in the support thread that you opened regarding this requirement. As stated in it, I am researching whether such behavior can be achieved, but I need a little more time for this. I will update this thread with my findings as well, but I would kindly ask you to continue our communication in the support thread, so that double posting is avoided.

Thank you for understanding.

Regards,
Stefan X1
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
DataFilter
Asked by
Birgit
Top achievements
Rank 1
Answers by
Birgit
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or