BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
void GridQueryColWidth(object sender, GridRowColSizeEventArgs e) { if( e.Index == 1) e.Size = 200; else if(e.Index == gridControl1.ColCount)//fill grid with last col { int width = gridControl1.ColWidths.GetTotal(0, gridControl1.ColCount-1); e.Size = Math.Max(20, gridControl1.ClientRectangle.Width-width); } else if (e.Index > 0) e.Size = 100; else e.Size = 0;//hide the header // 30; e.Handled = true; } private void gridControl1_SizeChanged(object sender, System.EventArgs e) { gridControl1.RefreshRange(GridRangeInfo.Col(gridControl1.ColCount)); }