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. Image for the cookie policy date

FilteringPop position


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

5 Replies

AU Aurélien February 2, 2015 09:06 AM UTC

AU Aurélien February 4, 2015 08:13 AM UTC


AR Akila Rajaram Syncfusion Team 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 :  https://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

AU Aurélien February 9, 2015 04:11 PM UTC

Hi Akila,

Thank you for you answer.
The fix works perfectly.

Best regards,

SM Saravanan M Syncfusion Team February 10, 2015 09:09 AM UTC

 Hi Aurelien,

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



Live Chat Icon For mobile
Up arrow icon