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

Filter customization and localization

7 Answers 183 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Steffen
Top achievements
Rank 1
Steffen asked on 30 Mar 2009, 08:28 AM
Hello again,

First off the column filter feature is really cool.
However I have a couple of questions regarding the feature:

-Is there an easy way to localize the filter control and the text within the grouping panel?
-Is it possible to make some adjustments to the filter control. More specificly it does not always make sense to have the listbox part (Imo it only makes sense in columns where you have a very limited amount if different field values - i.e enum options etc.)

7 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 30 Mar 2009, 01:53 PM
Hello Steffen,

First of all thanks for your feedback. We are glad that the new filtering UI is useful for our clients.

Now onto your questions:
  1. Currently we did not provide an easy way to localize our controls. We are aware of this problem and have a strategy that we are going to implement for our next major release. The only way to localize them right now is to redefine the control templates for FilteringDropDown and GridViewGroupPanel and change the appropriate TextBlocks that contain the text.
  2. You should also redefine FilteringDropDown template if you want to make changes to the default look and feel of the filtering.
Note: You should redefine HeaderCell style in order to template the filtering drop down. You can do this by setting the HeaderCellStyle property of each column.

Hope this helps.

Sincerely yours,
Stefan Dobrev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
James
Top achievements
Rank 1
answered on 16 May 2009, 01:06 PM
Hi Stefan,

Redefining the FilteringDropDown template sounds quite tricky: is there an example anywhere? I'd like to echo Steffen's request and suggest a standard option for the filter should be whether to display the list of items with checkboxes or not. It doesn't make sense to use this when you have lots of items, and the client just crashes when I put lots in (e.g. 13k), but users will still find the other filtering options useful.

Best wishes, James.
0
Vlad
Telerik team
answered on 19 May 2009, 07:03 AM
Hi James,

We added new column property (ShowDistinctFilters) to handle such scenarios and later this week we will upload our second service pack.

Kind regards,
Vlad
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
James
Top achievements
Rank 1
answered on 20 May 2009, 12:03 AM
Hi Vlad,
Thanks for your answer. This is really good news as it solves one of the dilemmas that I have regarding deploying the grid (do I enable the filter or not?). May I also add that it's been a pleasure working with the Telerik components, especially with regard to the quality of response to support requests - both in terms of the solutions given and also in the response to user feedback on the functionality of the controls themselves. Keep up the good work - it is appreciated!
Best wishes, James.
0
James
Top achievements
Rank 1
answered on 10 Jul 2009, 12:18 PM
Hi Telerik,

I've got the latest code but can't see a 'ShowDistinctFilters' property. I see that filtering has changed quite a bit. What's the recommended way of disabling the list of items in a filter, but keeping the rest?

Thanks, James.
0
Vlad
Telerik team
answered on 10 Jul 2009, 12:42 PM
Hi James,

The property is available even in Q1 SP2:
http://www.telerik.com/products/silverlight/whats-new/release-history/q1-2009-sp2-version-2009-1-526.aspx

Sincerely yours,
Vlad
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
James
Top achievements
Rank 1
answered on 10 Jul 2009, 01:24 PM
Sorry - for some reason I was looking for it as a table property... Maybe that's a sign I should take the afternoon off ;-)
Thanks, James.
Tags
GridView
Asked by
Steffen
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
James
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or