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

FitToResize on double click on Colum Header issue.

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?


3 Replies

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

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

Attachment: Capture_78955169.zip

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

Any update?

MK Muthukumar Kalyanasundaram Syncfusion Team 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. 
Muthukumar K 

Live Chat Icon For mobile
Up arrow icon