Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
3189 | Mar 7,2003 12:04 PM UTC | Mar 7,2003 04:24 PM UTC | WinForms | 7 |
![]() |
Tags: GridControl |
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. :(
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.