Hi Allon,
Thank you for your interest in Syncfusion products.
If you want the AutoFill columns in GridControl, then please try using QeueryColWidth event in GridControl to achieve this behavior.
Refer the code below:
// C# code
void gridControl1_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if (e.Index > 0)
{
e.Size = (this.gridControl1.ClientSize.Width-this.gridControl1.ColWidths[0]) / this.gridControl1.ColCount;
e.Handled = true;
}
}
//VB code
Private Sub gridControl1_QueryColWidth(ByVal sender As Object, ByVal e As GridRowColSizeEventArgs)
If e.Index > 0 Then
e.Size = (Me.gridControl1.ClientSize.Width-Me.gridControl1.ColWidths(0)) / Me.gridControl1.ColCount
e.Handled = True
End If
End Sub
Refer the sample from below link:
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/Forums/GGCFill.zipPlease let me know if you have any queries.
Regards,
Lingaraj S.