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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ColumnChooser Style

Thread ID:

Created:

Updated:

Platform:

Replies:

141456 Dec 12,2018 12:50 PM UTC Dec 17,2018 07:12 AM UTC WPF 5
loading
Tags: SfDataGrid
Sascha Bauer
Asked On December 12, 2018 12:50 PM UTC

Dear admin,
is there a possibility to hide the X-close-button of the ColumnChooserClass or what would even be better, anything to design the hole window in the designer like other windows?
Thanks for your time and regards.

Jayaleshwari N [Syncfusion]
Replied On December 13, 2018 11:56 AM UTC

Hi Sascha,  
  
Thanks for contacting Syncfusion support.   
  
We have checked the reported query “To hide the closed button in the column chooser window" and you can achieve this by customize the style of column chooser and set visibility collapsed to the window closed button.   
  
<syncfusion:TitleButton x:Name="CloseButton" Visibility="Collapsed"  
                    Grid.Column="1"  
                    Margin="0,5,2,10"  
                    HorizontalAlignment="Right"  
                    Command="syncfusion:ChromelessWindow.CloseWindow"  
                    syncfusion:WindowChrome.IsHitTestVisibleInChrome="True">  
  
We have attached the sample for your reference and you can download the same from the following link  
 
Regards, 
Jayaleshwari N 


Sascha Bauer
Replied On December 13, 2018 12:21 PM UTC

Thanks for your help,

 but theres one problem left, this ColumnChooser you provided always shows all columns inside the list and dont interacts like the normal one. Can you provide a sample based on this design but the original behavior of ColumnChooser please.

Regards.

Jayaleshwari N [Syncfusion]
Replied On December 14, 2018 06:01 AM UTC

Hi Sascha, 
 
Sorry for the inconvenience. 
 
We have modified the sample based on the column chooser architecture and you can download the same from the following location. 
 
Please let us know if you would require further assistance. 
 
Regards, 
Jayaleshwari N 


Sascha Bauer
Replied On December 14, 2018 09:36 AM UTC

Thank you very much Jayaleshwari N for you help, now it's working perfect for me. 


Jayaleshwari N [Syncfusion]
Replied On December 17, 2018 07:12 AM UTC

Hi Sascha, 
 
Thanks for the update. Please get in touch if you would require further assistance. 
 
Regards, 
Jayaleshwari N 


CONFIRMATION

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

Live Chat Icon For mobile
Live Chat Icon