Hey - Another easy question. I have a Column Definition that I want to be part of the grid, so I can easily reference the column, but I don't want the column to appear on the grid. Examples or the numeric identifier for a record. Right now, I'm just setting the column width to zero for now because I didn't see a visibility property.
Is there a Visibility property or something I can set on the column so that it's bound to the grid, can be referenced, but will not display on the actual grid.
There is not Visibility property on the Column as the column's purpose is to make data visibile. Off the DataSourceHelper is a method that can resolve the actual data object given the row path.
So for example if you had a Employee object you would want to show FirstName, LastName but not SSN. So you would only make columns for those columns and if you needed the SSN you would call the ResolveDataObjectForRow method off the datasourse helper.
_dsh.ResolveDataObjectForRow (new IGRowPath(0,0)); // change the RowPath passed in to be the row path of the row you are actually working with.