I'm getting VERY annoyed (it seems like I'm annoyed a lot, doesn't it...) with the custom Grid Designer. I Manually Define my data schema and select the "Will be supplying a datasource at runtime" option. I know it has a "Note" that informs me it will only save the Keys and Positions of the Columns and Bands, but the question is WHY???
Why can't it save whatever property settings I make (such as Hidden) so that I don't HAVE to set them programmatically? In fact, I can't even find how to set the Column property "Hidden" programmatically.
Why can't it save my property settings so that the next time I open the UltraGrid Designer to modify one of my grids, I don't have to RESET EVERY SINGLE #@$%^&* PROPERTY that I've changed from the default?
It gets REALLY OLD resetting the same properties over and over and over....
Every time I go
Wolven said:Why can't it save whatever property settings I make (such as Hidden) so that I don't HAVE to set them programmatically? In fact, I can't even find how to set the Column property "Hidden" programmatically.
You can't set hidden here because you are defining the data structure, not the grid structure. There's no hidden property on an UltraDataSource column, nor is there a hidden property on a column in a DataTable. The IBindingList interface doesn't have any way to expose Hidden on a column of data.
Having said that, you can hide the column by setting Hidden on the column in the grid at design-time after you define the data structure.So you hide the grid column, not the column in the data structure.
After you define your data structure, you go to the Column Arrangement overview of the band and you can set properties on the columns there.
My advice would be to simply use the InitializeLayout event and set up your column properties in code, though. It's a much more reliable way to do it and you will never lose your settings.
Mike, How can I make this a Feature Request? I can never seem to find a link, button, whatever to take me to the Feature Request area...
Basically, I just want to the UltraGridDesigner to SAVE whatever settings I made even though I am selecting the "Will be supplying a datasource at runtime" option and have those settings still be there when I use the GridDesigner to change my data schema later.
Submit a feature request to Infragistics