column headers not showing
-
I have a datagridview with for columns. the datagridview is dinamically added. the 4th column is needed for an cellClick event so I have to have it. But I do not want to display it so I set the Visible property for that column to false. and it does not show. Cool right? Except in the process of making this column not visible the header text for all the columns dis appear; I could set the with of the DataGrid to chop off the last column so its still there but no one can see it. and this is probably what im going to do but was wondering if anyone had this problem or a resolution to this. Mike
-
I have a datagridview with for columns. the datagridview is dinamically added. the 4th column is needed for an cellClick event so I have to have it. But I do not want to display it so I set the Visible property for that column to false. and it does not show. Cool right? Except in the process of making this column not visible the header text for all the columns dis appear; I could set the with of the DataGrid to chop off the last column so its still there but no one can see it. and this is probably what im going to do but was wondering if anyone had this problem or a resolution to this. Mike
-
ok Never mind. The headerText was not showing because I did not set the foreColor in the column that was not to be visible.