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

the filter menu is clipped

11 Answers 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jorge Alberto
Top achievements
Rank 1
Jorge Alberto asked on 30 Jul 2010, 02:07 AM
Hello :)

I have a gridview and the filter menu is clipped, the "Filter" and "ClearFilter" buttons are not shown.
I have attached  a screenshot of this.

I hope you can help me.
Best regards
Jorge

11 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 30 Jul 2010, 01:09 PM
Hello Jorge Alberto,
 
You can try to set MinHeight of the FilteringControl within a style:
<Grid x:Name="LayoutRoot">
<Grid.Resources>
<Style TargetType="telerik:FilteringControl">
<Setter Property="MinHeight" Value="350"/>
</Style>
</Grid.Resources>
</Grid>
The value of this property depends on your personal requirements.

If you need any further assistance please let me know.

All the best,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jorge Alberto
Top achievements
Rank 1
answered on 30 Jul 2010, 06:44 PM
Hello Vanya Pavlova

Thank you very much for answer, but setting the MinHeigth, MaxHeigth or Height, doesn't fix the problem for example if I set the MinHeigth to 350 (as you recommend in your answer) the filter menu doesn't change it's size. if I set the MaxHeight or Height to 350 the filter menu change it's height to 350 but it remains clipped.

I hope you can help me.
I have attached another screenshot of this situation.

Best regards
Jorge
0
Vanya Pavlova
Telerik team
answered on 02 Aug 2010, 07:47 AM
Hi Jorge,

Can you post more info about the grid version? Can you send us small example project where we can check the filter menu behavior in your scenario?

Greetings,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jorge Alberto
Top achievements
Rank 1
answered on 03 Aug 2010, 05:40 AM
Hello Vanya Pavlova

I'm using Telerik WPF controls version 2010.2.609.35
I'm using a RadGridView inside a RadPane and the RadPane is inside a RadTileViewItem and that is pretty much what I'm doing.
I hope this information helps.

Best regards, 
Jorge Alberto

0
Vanya Pavlova
Telerik team
answered on 03 Aug 2010, 03:51 PM
Hi Jorge Alberto,

In order to achieve the desired behaviour you need to edit the Template of the FilteringControl. Attached you can find a sample project which demonstrates this approach.

Please let me know if you need any further assistance.

All the best,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ahmet Özgür
Top achievements
Rank 1
answered on 17 Sep 2010, 02:50 PM
Hi,
I have the same problem. but i think its because of the data shown at the filter

look at this picture please
http://www.arkadas.com.tr/filter1.jpg
there is 7 lines of data around the red circle, it can be more of course

but at this picture
http://www.arkadas.com.tr/filter2.jpg
there is less row and when like this the buttons can be seen. Is there a way to limit the data to be shown at the filter menu
0
Accepted
Vanya Pavlova
Telerik team
answered on 22 Sep 2010, 09:34 AM
Hello Ahmet Özgür,

This issue is not related to the values displayed in FilteringControl of the RadGridView.
You have the following approaches to change this behaviour:

1.You can use the ShowFileldFilters and ShowDistinctValues properties to manipulate the FilteringControl in each column in RadGridView.

                                        ShowFieldFilters-show/hide bottom part.
                                        ShowDistinctValues-show/hide top part.

2.If these properties do not work for you,just edit the template of the FilteringControl and change it to achieve the desired result.

Please let me know if you need any further assistance.

Best wishes,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ahmet Özgür
Top achievements
Rank 1
answered on 22 Sep 2010, 02:34 PM
Thank you.
ShowDistinctValues is what i wanted.
0
Ramin
Top achievements
Rank 1
answered on 22 Sep 2010, 07:12 PM
Hi Vanya,

Thanks for the sample code. I am using your sample and it compiles and works fine. The only problem is whenever I try to open MainWindow.xaml I get two errors and it won't show display the design page.
The errors are:
  1. Error 1 Ambiguous type reference. A type named 'FilterOperatorConverter' occurs in at least two namespaces, 'Telerik.Windows.Controls.GridView' and 'Telerik.Windows.Data'. Consider adjusting the assembly XmlnsDefinition attributes. C:\DevLcl\WPF\Telerik\GridView_filterclipped\FilterClipped\FilterClipped\MainWindow.xaml 1 1 FilterClipped
  2. Error 2 Ambiguous type reference. A type named 'FilterCompositionLogicalOperatorConverter' occurs in at least two namespaces, 'Telerik.Windows.Controls.GridView' and 'Telerik.Windows.Data'. Consider adjusting the assembly XmlnsDefinition attributes. C:\DevLcl\WPF\Telerik\GridView_filterclipped\FilterClipped\FilterClipped\MainWindow.xaml 1 1 FilterClipped

I have also attached a screen shot.
Thanks,
Ramin
0
Vlad
Telerik team
answered on 23 Sep 2010, 04:15 PM
Hi Ramin,

 I've attached fixed version of the project.

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ramin
Top achievements
Rank 1
answered on 28 Sep 2010, 07:17 PM
Hi Vlad,
That was great.
Thanks,
Ramin
Tags
GridView
Asked by
Jorge Alberto
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Jorge Alberto
Top achievements
Rank 1
Ahmet Özgür
Top achievements
Rank 1
Ramin
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or