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

Incremental filtering issues in combobox column

1 Answer 143 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marius
Top achievements
Rank 1
Marius asked on 19 Oct 2011, 06:10 PM
Hi,
I am using a GridViewComboBoxColumn with incremental filtering:                                   
<telerik:GridViewComboBoxColumn Width="auto"
Header="{localization:Translate Key=Ressource_libelleRess,
Default='Libellé Ressource'}"
DataMemberBinding="{Binding RessourceMoyensID, Mode=TwoWay}"
ItemsSource="{Binding ListRessourceMoyens}"
DisplayMemberPath="Value.LibelleRessource"
SelectedValueMemberPath="Value.RessourceMoyensID"
IsComboBoxEditable="True">
<telerik:GridViewComboBoxColumn.EditorStyle>
<Style TargetType="telerik:RadComboBox">
<Setter Property="IsFilteringEnabled" Value="True"/>
<Setter Property="TextSearchMode" Value="Contains"/>
<Setter Property="IsReadOnly" Value="True"/>
<Setter Property="StaysOpenOnEdit" Value="True"/>
<Setter Property="OpenDropDownOnFocus" Value="True"/>
</Style>
</telerik:GridViewComboBoxColumn.EditorStyle>
</telerik:GridViewComboBoxColumn>

When I have many items in the combobox (170 in one case, 6000 in another):
1. The filtering doesn't seem to work correctly (from 8 correct elements as in the DB, it shows me 5 correct and other 5 incorrect)
2. For the big one, there are performance issues (one lettre filters in 2-3 seconds).

Have you any solution to this?

Thanks in advance,


1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 24 Oct 2011, 12:20 PM
Hello Marius,

We are not aware of similar bugs with the filtering. Could you please, send us a simple project that can be used to observe the problem?

The second issue with the performance is actually expected as the control is not virtualized by default - you need to follow the instructions below in order to improve the performance of RadComboBox when it contains hundreds or thousands of items:
http://www.telerik.com/help/silverlight/radcombobox-howto-virtualization.html

Please, note however, that if you enable the virtualization, the filtering will not work correctly.

Greetings,
Valeri Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Marius
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or