EpiUltraGrid Hiding Column Headers

This took me a while to work out, so if anyone else is trying to do this…

I have some grids for selecting attributes and I don’t want the headers / headings to be disabled since it’s just a list showing the descriptions. The problem is that putting the ColHeadersVisible in the initialization code gets overridden all the time by epicor code… so where to put the following:

this.grdAssignedStorageReqs.DisplayLayout.Bands[0].ColHeadersVisible = false;

After much trial an error, I realize most of the ‘Before’ and ‘After’ events for grids never seem to fire. It looks like the best place then is the InitializeRowsCollection

I hope that this manages to save someone some trial and error.