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

[Solved] Resizing or positioning telerik:RadGridView FILTER

3 Answers 250 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ann
Top achievements
Rank 1
Ann asked on 06 Jan 2011, 06:39 PM
I am displaying some data as shown below by on radgridview.
It has an auto filter enabled on each column , onclick of the filter the size of the filter window is bigger than my grind view. Hence not all the options on the filter window are seen.
I would like to know if the offset can be changed for the filter window or some property can be set to resize the filter window in the current version(2010.2.0714.1040) of telerik gridview which I am using ?
 Is there an version that would allow this property setting for the filter window?
<telerik:RadGridView x:Name="dg"
ItemsSource="{Binding Sets}" SelectedItem="{Binding CurrentSetSelected,Mode=TwoWay}"
CanUserFreezeColumns="False"AutoGenerateColumns="False" FrozenColumnCount="3"
RowDetailsVisibilityMode="Collapsed" ShowGroupPanel="False" IsReadOnly="True" Grid.Column="0" Grid.Row="2" telerik:StyleManager.Theme="Windows7" >
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding SetID}" Header="Region #" IsReadOnly="True" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding SetName}" Header="Region" IsReadOnly="True" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Deleted}" Header="Deleted" IsReadOnly="True" Background="#EAF5F8" Width="90"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>

 

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 07 Jan 2011, 05:19 PM
Hi Ann,

 
You have the following approaches to change this behavior:

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

                                        ShowFieldFilters-show/hide bottom part.
                                        ShowDistinctFilters-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 where you can set a fixed height for the ListBox that holds FilteringControl's distinct values or to remove unusable elements.

Please let me know if you need any further assistance.

Greetings,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Hrushikesh
Top achievements
Rank 1
answered on 20 Jan 2011, 05:51 PM
Hi,

I am using the version 2010.2.924.1040. for the silverlight radgrdiview. but haven't find the below properties you mentioned.

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

Where can i find these property. is there any latest version later after the version i have mentoined above.

Thank you
Hrushikesh Patel
0
Hrushikesh
Top achievements
Rank 1
answered on 20 Jan 2011, 07:44 PM
Sorry i got that. Its need to be set for each columns.

Thank you
Hrushikesh Patel
Tags
GridView
Asked by
Ann
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Hrushikesh
Top achievements
Rank 1
Share this question
or