Customization to change grid header name

I’m trying to change the ‘DMR’ caption to NCMR for both areas in the upper left grid section and the grid column heading. When I change the grid column header, it updates it correctly but then does not save upon reopening. How would I make changes to the two areas in the arrow below?

Grids bound to datasets often lose their settings (like number formats) that have been changed by a customization.

I recall someone saying that you had to use code to tweak the grid, AFTER the data is returned to it.

The column header in the gird seems to be a ‘label’ type field and not data so I would expect it to be save correctly. It does update correctly but reverts back upon refresh even with no data.

Any thoughts on the other section in the upper left? I can’t seem to find where this is located to update.

You may try the following:

Once you grab your grid in initializeCustomCode

myGrid = (EpiUltraGrid) csm.GetNativeControlReference("245899ff-04ad-41e0-b61f-cae31c61bbaa");

I then set the header for some of the columns this way:

myGrid.DisplayLayout.Bands[0].Header.Band.Columns["name of the field"].Header.Caption = "your custom text ";