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

FitToResize on double click on Colum Header issue.

Thread ID:

Created:

Updated:

Platform:

Replies:

130535 May 17,2017 10:50 AM UTC May 19,2017 12:12 PM UTC WPF 3
loading
Tags: SfDataGrid
ajay murudkar
Asked On May 17, 2017 10:50 AM UTC

What size does a column fits to when user double click on the column Header?
In my Case I have Column sorting and filter enabled as well.
And when I double click it try to fit the Column Header+Sort Arror + Filter icon and not the content.

See the attached image.

Can you please try to elaborate on the behaviour of Double click on column header?

Thanks,

ajay murudkar
Replied On May 17, 2017 11:01 AM UTC

Trying to attach a JPG file!!
Had to compress it via ZIP file.

Attachment: Capture_78955169.zip

ajay murudkar
Replied On May 19, 2017 09:29 AM UTC

Any update?

Muthukumar Kalyanasundaram [Syncfusion]
Replied On May 19, 2017 12:12 PM UTC

Hi Ajay, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your query. When you double click on column header, it will behave like Auto column sizer. So, column width will be calculated based on header and cell contents. When you enable the Filtering and Sorting for column, the width of column remains the same. For header cell, width will be calculated by considering header text, SortIcon and FilterIcon. The default width for filter icon is 20, sort icon is 18. If you want to exclude the FilterIconWidth and SortIconWidth of column header, you can set the value as Zero. 
  
To change the FilterIconWidth and SortIconWidth of column header, you can use below link. 
 
For more details about ColumnSizer, you can refer below link. 
 
Please let us know if you have any query. 
 
Regards, 
Muthukumar K 


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.

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

;