Tree grid - AutoFitColumns does not work

Hi,

I am using tree grid with list of ExpandoObject as a data source.
I want all my visible columns to auto fit based on its content.
In attachment you can find example where i tried to use AutoFitColumns feature in a way explained in documentation.
I do not see that columns are auto fit to content.
Besides when I change value in drop down and data source is changed columns would retain previous widths.
Is this a bug or there is a way to make this work on my side?

Best regards,
Igor Surla

Attachment: TreeGridWithAutoFitColumns_2cb26910.zip

4 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team September 10, 2020 03:21 PM UTC

Hi Igor, 
 
Thanks for contacting Syncfusion Support. 
 
We are able to replicate the problems at our end. We have forwarded this problem to corresponding dependent component team. We will update you further details by 11th September 2020. 
 
Regards, 
Farveen sulthana T 



MP Manivannan Padmanaban Syncfusion Team September 11, 2020 12:47 PM UTC

Hi Igor, 

We appreciate your patience. 

We have validated your query and confirmed it is a bug and logged the defect report “AutofitColumns method throws error when isFrozen property is enabled” for the same.  Fix for this issue will be included in our weekly nuget release, which is expected to be rolled out by mid-October 2020. 
  
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.       

Regards,  
Manivannan Padmanaban 



IS Igor Surla September 29, 2020 10:49 AM UTC

Hi Manivannan,

Just to point out that auto fit does not work even if I do not use IsFrozen.
Could you replicate that with my example?

Best regards,


MP Manivannan Padmanaban Syncfusion Team October 1, 2020 01:56 PM UTC

Hi Igor, 

Sorry for the delayed response. 

We are able to replicate the reported issue while paging (with or without frozen) and we considered the same as bug and logged a defect report the same. The fix for the reported issue will be included in our second week nuget release of October 2020. 

Until then, we appreciate your patience. 

Regards, 
Manivannan Padmanaban 


Loader.
Up arrow icon