Autofit column in sfDataGrid 19.1.x

Hi, I'm currently using sfDataGrid ^18.4.49-beta in a flutter project and I would like to upgrade sfDataGrid to ^19.1..., but I need the autofit feature as now in ^18.4.49 with "columnWidthMode: ColumnWidthMode.auto".
Reading the API reference of 19.1.. it seems there isn't a feature as autofit. It is correct?
Autofit to self set the column width based on the cell content was a great feature; if 19.1 version hasn't it, I think is a bad regression.

1 Reply

RS Renugadevi Sadagoban Syncfusion Team May 12, 2021 10:31 AM UTC

Hi Pietro, 
  
Greetings from syncfusion. 
  
We have made API breaking changes in 2021 Volume 1 release. As per the new API paradigm, we are getting the widgets directly from users. Due to this, SfDataGrid does not have support for autofit (width and height) for the column.   
Please refer to the following blog for API breaking changes,  
  
We have already considered the autofit for the row and column feature and logged the feature request. This feature will be implemented in our any of our upcoming release.  
Please refer to the below feedback link for further follow up,  
  
We appreciate your patience until then. For further assistance, you can follow provided feedback link. 
  
Regards, 
Renuga devi  


Loader.
Up arrow icon