I have a data table with a GUID column I am binding to the grid view. After setting the data source, I am programmatically setting a group by expression, setting the column type for the GUID column to System.Guid and hiding the GUID column. I have also enabled autosizing on all columns as well as on the master table.
Problems:
(1) As I scroll through the grid, seemingly randomly some rows display a portion of the hidden column. There is no rhyme or reason to it - scroll to the bottom, and then back to the top and the first row shows part of the hidden column. Scroll just enough until the column is off display and then back, and sometimes the hidden column is gone, other times not.
(2) Nothing I do, no property I set, nothing will cause the columns to autosize. They all reset back to 50 wide. I can resize the columns manually and they stay. But nothing will make them columns start out properly sized, including setting column widths when defining the master table layout.
(3) When issue 1 happens on any row, the columns for that row are no longer aligned with the column headers. When the hidden column disappears again, the columns are properly aligned with the headers.
(4) I can't find any way to add a "command" type column to the grid. I want to be able to add a column like the normal data grid view control where the user can click the text which appears like a hyperlink and have some action occur. Is this not a feature or am I just missing something?
I am using Q1 2007. HELP! What am I doing wrong? I REALLY want to use this control because of the display properties, but these seem like pretty big issues to me.
-Dave Ferreira
Problems:
(1) As I scroll through the grid, seemingly randomly some rows display a portion of the hidden column. There is no rhyme or reason to it - scroll to the bottom, and then back to the top and the first row shows part of the hidden column. Scroll just enough until the column is off display and then back, and sometimes the hidden column is gone, other times not.
(2) Nothing I do, no property I set, nothing will cause the columns to autosize. They all reset back to 50 wide. I can resize the columns manually and they stay. But nothing will make them columns start out properly sized, including setting column widths when defining the master table layout.
(3) When issue 1 happens on any row, the columns for that row are no longer aligned with the column headers. When the hidden column disappears again, the columns are properly aligned with the headers.
(4) I can't find any way to add a "command" type column to the grid. I want to be able to add a column like the normal data grid view control where the user can click the text which appears like a hyperlink and have some action occur. Is this not a feature or am I just missing something?
I am using Q1 2007. HELP! What am I doing wrong? I REALLY want to use this control because of the display properties, but these seem like pretty big issues to me.
-Dave Ferreira