Hi Ajay,
Thanks for your interest in Syncfusion product.
By default, if you double click on the GridControl column header cell border, the column will resize automatically. Also, you can achieve this scenario by handling the ResizingColumns event. Please refer to the below code example and the sample,
Code example
this.gridControl1.ResizingColumns += gridControl1_ResizingColumns;
void gridControl1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
{
if (e.Reason == GridResizeCellsReason.DoubleClick)
{
if (e.Reason == GridResizeCellsReason.DoubleClick)
{
this.gridControl1.Model.ColWidths.ResizeToFit(e.Columns);
e.Cancel = true;
}
}
}
Regards,
Mohanraj G