vb.netvisual-studio-2008datagridwindows-mobilecompact-framework

How to hide a column in DataGrid on Windows Mobile 6 Professional, .NET Compact Framework 3.5?


Most of the solutions I could find rely on DataGridColumn.Visibility Property or DataGridView both of which are not available in Windows Mobile 6 / .NET Compact Framework (to be more specific: version I'm running on my device is .NET Compact Framework 3.5.9198.0)

How can I hide a column from the DataGrid?


Solution

  • Given that this question just scored "popular" mark: It wasn't possible to do it by hiding the column, we've had to bypass the issue by modifying the data flow (in that case: creating a new view in t-sql) that would exclude the problematic column.