Hide a column in a datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been looking on different message boards to see how to hide a column in a datagrid. The only thing I have found is the following
RacDataSet.Tables("TableName").Columns("ColumnName").ColumnMapping = MappingType.Hidde

Is this correct? It doesn't seem to be working so I don't know if I am forgetting to do something
 
You can set that same thing in your table styles property of the data grid.


mike said:
I have been looking on different message boards to see how to hide a
column in a datagrid. The only thing I have found is the following:
 
* "=?Utf-8?B?bWlrZQ==?= said:
I have been looking on different message boards to see how to hide a column in a datagrid. The only thing I have found is the following:
RacDataSet.Tables("TableName").Columns("ColumnName").ColumnMapping = MappingType.Hidden

Is this correct? It doesn't seem to be working so I don't know if I am forgetting to do something.

Add a tablestyle to the datagrid:

<http://msdn.microsoft.com/library/en-us/dnwinforms/html/wnf_custdatagrid.asp>
 
Back
Top