BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
this.gridControl1.Cols.HeaderCount = -1; this.gridControl1.Cols.FrozenCount = -1; this.gridControl1.Rows.HeaderCount = -1; this.gridControl1.Rows.FrozenCount = -1;which seems to work, but may have other problems depending upon exactly what you are doing. For a GridDataBoundGrid, it is a little more problematic in that the minus 1 seems to make the columns off by one. In this case, I think hiding the row headers is the way to go.
> this.gridControl1.Cols.HeaderCount = -1; > this.gridControl1.Cols.FrozenCount = -1; > this.gridControl1.Rows.HeaderCount = -1; > this.gridControl1.Rows.FrozenCount = -1; >> which seems to work, but may have other problems depending upon exactly what you are doing. This works great, but I'm worried about these "other problems" that you are hinting at...
> this.gridControl1.Cols.HeaderCount = -1; > this.gridControl1.Cols.FrozenCount = -1; > this.gridControl1.Rows.HeaderCount = -1; > this.gridControl1.Rows.FrozenCount = -1; >> which seems to work, but may have other problems depending upon exactly what you are doing. I thought this would work, but it still hides the 0th row and column. :(