We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FilteringPop position

Thread ID:





118109 Feb 2,2015 09:05 AM UTC Feb 10,2015 09:09 AM UTC WinRT 5
Tags: SfDataGrid
Asked On February 2, 2015 09:05 AM UTC


I have a problem with the position of filtering popup (no OK - Cancel buttons OR no first line : ascendant sort)

Please, find attached in the zips containing 2 screenshots of my problem and a code sample.

My simulator resolution is 10.6” 1366*768.

Thanks in advance,


Attachment: screenshots_4772b552.zip

Replied On February 2, 2015 09:06 AM UTC

Replied On February 4, 2015 08:13 AM UTC


Akila Rajaram [Syncfusion]
Replied On February 4, 2015 12:39 PM UTC

Hi Aurélien,


We were able to reproduce the problem “ Filter Popup shows incorrect position when the grid is loaded at insufficient window space “and have logged defect report regarding this. The fix for this issue will be included in our upcoming Service pack release which is scheduled in February last week .


By default , the Filter Popup  position is adjusted based on the screen height with mouse interaction on FilterToggleButton and it arranged towards bottom by normally. In our SfDataGrid, we have checked the available space in screen to arrange filter popup either in top or bottom. If the space becomes less when compared to filter popup height with point where the mouse interaction on ToggleButton, pop up will be arranged from top. Here if the space in top is also less means, it will be arrange at bottom as default. In this case, the bottom part of pop up will get hidden as you reported and you can overcome this by reducing the Popup MinHeight and Height .  This can be achieved by editing the ControlTemplate of the GridFilterControl and bind the values for PART_FilterPopUpBorder MinHeight and Height property .


We have modified sample based on your requirement . Please find the sample from the below location.


Sample :  http://www.syncfusion.com/downloads/support/directtrac/general/SfDataGrid_HeaderCellCOntrol_in_WinRT_Modified1868916180.zip


Please find the below code snippet ,


Code snippet :



  <Style TargetType="syncfusion:GridFilterControl">

<!--By Default Height will be set based on the FilterPopupHeight . We need to reset Height expilictly-->

       <Setter Property="Height" Value="400"/>

       <Setter Property="MinWidth" Value="300" />

<!—Adjust Minimum Height of the FiterPopup-->

       <Setter Property="MinHeight" Value="400" />

                             .    .   .      

                             .    .   .

                             .    .   .

                             .    .   .




The above Height will be bind to the Height and MinHeight of FilterPopUpBorder in ControlTemplate of FilterControl as shown in the below code snippet ,


Code Snippet :


<Border x:Name="PART_FilterPopUpBorder"

                                Width="{Binding FilterPopupWidth,


                                                RelativeSource={RelativeSource TemplatedParent}}"

                                Height="{TemplateBinding Height}"

                                MinWidth="{TemplateBinding MinWidth}"

                                MinHeight="{TemplateBinding MinHeight}"

                                Background="{TemplateBinding Background}"

                                BorderBrush="{TemplateBinding BorderBrush}"

                                BorderThickness="{TemplateBinding BorderThickness}">                     










Please let me know if you have any questions.



Akila R

Replied On February 9, 2015 04:11 PM UTC

Hi Akila,

Thank you for you answer.
The fix works perfectly.

Best regards,

Saravanan M [Syncfusion]
Replied On February 10, 2015 09:09 AM UTC

 Hi Aurelien,

Thanks for your update. Please let us know if you need further assistance.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon