Filter dialog is displayed rotated when column headers are rotated

Hello,

when the sfDataGrid column headers are rotated by 270 degrees, the fllter dialog is also rotated.

I'm using this code to rotate the headers (in code):

oHeaderStyle.Setters.Add( new Setter( System.Windows.Controls.Primitives.DataGridColumnHeader.LayoutTransformProperty, new RotateTransform) 270 ) ) )

It looks like this:
FilterRotated.png

Thank you very much for any hint to solve that.
Wolfgang

3 Replies 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team November 23, 2021 03:13 PM UTC

Hi Wolfgang, 

Thanks for contacting Syncfusion support.  

We have checked the reported scenario in our end. You can resolve this by adding style for the GridFilterControl as shown in the following code example.  

Code example :  

Style filterControlStyle = new Style(typeof(GridFilterControl)); 
filterControlStyle.Setters.Add(new Setter(GridFilterControl.LayoutTransformProperty, new RotateTransform(-270))); 
this.dataGrid.FilterPopupStyle = filterControlStyle; 


Please let us know if you require any other assistance from us.  

Regards, 
Mohanram A. 


Marked as answer

WR Wolfgang Riedmann replied to Mohanram Anbukkarasu November 23, 2021 03:26 PM UTC

Hi Mohanram,

thank you very much for your answer!

Works like a charm.

Thank you again.

Wolfgang



MA Mohanram Anbukkarasu Syncfusion Team November 23, 2021 03:47 PM UTC

Hi Wolfgang, 

Thanks for the update.  

We are glad to know that the provided solution worked at your end. Please let us know if you require any other assistance from us. We are happy to help you.  

Regards, 
Mohanram A. 


Loader.
Up arrow icon