I would like to auto resize columns of griddatacontrol after the grid is loaded and rendered completely. Is there any event for grid control rendering completed that I could subscribe to so that I can call ResizeColumnsToFit method? Or, is there a better way of resizing columns after the grid is rendered?
SJSathiyathanam Jeyakumar Syncfusion Team December 19, 2022 01:24 PM UTC
Hi Chaitanya Maddipatla,
We marked GridDataControl as a
classic product and continued to improve and add features only to SfDataGrid.
So, we suggest you use the SfDataGrid control. We have implemented a greater
number of features in that SfDataGrid control compared to GridDataControl. SfDataGrid is a designed
based on the WPF template-based architecture that provides support to customize
the Grid easily and fully supports binding. When you want performance and
customization features like styles and template features specific to WPF, you
can use the SfDataGrid control. Comparatively, the performance of the
SfDataGrid control is better than that of the GridDataControl.
Refer to the below UG links to get
more information about column resizing in sfdatagrid.