I've followed the sample in the Feature Browser to enable a cmobobox of items to display a text title rather than the number on a field and that is working fine.
But if I enable filtering I get an error saying cannot convert to Int32.
I've double checked the datatypes on both the grid field and the combofilter list and they are both integers.
Image below shows the filter listing the titles rather than the underlaying number, which is fine
But as soon as I select an item from the filter list i get the following error:
The strange thing is that if I change the FilterUIType to LabelIcons it works fine, but even when the FilterUIType is set to LabelIcons I still get the same error if I try to set the filter using the CustomFilterDialog.
Any idea what could be causing this. Below is my xaml for the CellEditorStyle:
And this is my code for the FieldSetting to use the style:
<igDP:Field.Settings>
<igDP:FieldSettings EditorStyle="{StaticResource UnitTypeFieldStyle}" />
</igDP:Field.Settings>
</igDP:Field>
Hi There,
The WPF 2009.2 release fixed the issues I was having. When I updated my infragistics controls I did have to remove the old reference and add the new one, for some reason the projects didn't upgrade correctly.
Regards
Craig
I am trying to achieve the same thing as the user in the original post and have found the folllowing;
- Using WPF 2009.1 the filtering with combos works fine but it does not give me an accurate record count when the filters are cleared.
- Using WPF 2009.1 plus the 2150 Hotfix the filterining with combos fails completely and the count of filtered records is incorrect. Also the performance of loading the initial xamDataGrid (unfiltered) and then waiting for the filtered results to be returned is very poor.
- Using WPF 2009.2 produces the same issues as 2009.1 plus the 2150 hotfix.
Are there breaking changes in the hotfix or version 2009.2 which require the combo filters to be implemented differently?
Many thanks
Hello,
I was able to reproduce this to some extent. I think that at this point it is best to open a support case, which you can do here, so that we can investigate this more closely and profile it. Please also reference this thread in the support case for additional information.
Hi Alex, i'm also seeing the performance problem when the FilterUI is set to labels.
Hi Alex,
I've just installed the latest service release and the filtering now works, however there is a massive performance problem. On a grid with only 500 records selecting a flter on a comboboxeditor column takes anywhere from 10-20 seconds to complete. Other column types are fine and take less than a second.
Also i have one grid with 22,000 records and this just crashes when filtering on a comboboxeditor field.
Any ideas what could be causing the performance issues and crashes?
Thanks