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

Bug: GridView Filters on column with Converters

3 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Guido Tapia
Top achievements
Rank 1
Guido Tapia asked on 18 Feb 2009, 05:19 AM
Just a quick heads up. Though your probably aware of this.

Having a Converter on a column gets ignored by the filters (the filters just display the 'DataMemberPath').

Thanks

Guido

3 Answers, 1 is accepted

Sort by
0
Hristo Deshev
Telerik team
answered on 20 Feb 2009, 04:05 PM
Hi Guido,

Yes, we are aware of this limitation. We have been debating whether to allow filtering/sorting/grouping to use bindings (and value converters for that matter) for some time, and we are still reluctant to do it because of performance reasons. Binding to an object to fetch its property path and apply the respective value converter can be quite expensive.

Maybe in the future we'll try to detect a more complex property path and/or an applied value converter and if so, we can use bindings for sorting/grouping. That would require us to make customers aware that this option can have performance implications and should be used with small data sets only. What do you think? Will customers, even you, be likely to fall in a debugging/support communication loop because they are unaware of what's killing their performance?

Sincerely yours,
Hristo Deshev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Guido Tapia
Top achievements
Rank 1
answered on 23 Feb 2009, 04:54 AM
I appreciate the performance concerns, but currently using Converters that are ignored in the cases you describe below (filtering, sorting, grouping) is very misleading and I would consider a usability bug.

Even dissabling sorting/grouping/filtering when a Converter is used on a column is more consistent with expectations than the current behaviour.

Note, I don't believe this is a huge limitation because ultematelly wrappers can be used to format data prior to binding to grid but its just a bit unfriendly.

Thanks
0
Hristo Deshev
Telerik team
answered on 25 Feb 2009, 08:41 AM
Hi Guido,

I agree, the current behavior can be improved. Right now we are all leaning towards enabling sorting and documenting the performance hit. Most of the time people won't notice it, if working with a small data set, and in those occasions the grid will Just Work™. Unfortunately we will have to delay that change after the Q1 release.

Best wishes,
Hristo Deshev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Guido Tapia
Top achievements
Rank 1
Answers by
Hristo Deshev
Telerik team
Guido Tapia
Top achievements
Rank 1
Share this question
or