Gotta get this one off my chest:
Using a custom collection that was created by LLBLGenPro.
Why is it that I can databind (OK, this is something I rarely do but in this case, it's the right call) a collection of objects to a DataGrid but if I don't set the datamember property I simply cannot "hide" a column on the control?
I don't have anything against Infragistics controls (well, they can be kinda 'heavy' if you know what I mean) and am using their UltraGrid in place of the standard DataGrid. As with the UltraGrid, using the standard DataGrid I should be able to access the columns collection after the control is bound and hide/set width = 0 on any column in the collection shouldn't I? C'mon Microsoft, fix this please!
Ahh, I feel much better now.
Feel free to flame away on this topic...perhaps I missed something somewhere but using the UltraGrid, I can do pretty much what I want to do with relative ease. And...I also realize that MS might want it this way so that companies like Infragistics can have products to market.
L8tr,
Jeff