gridView1.OptionsView.ColumnAutoWidth = false;
gridView1.OptionsView.ColumnAutoWidth =
false
;
for
(
int
I = 0; I < gridView1.Columns.Count; I++)
{
this
.gridView1.BestFitColumns();
.gridView1.Columns[I].BestFit();
//自动列宽
}