Hello,
There's a little problem in my Ultragrid: I tried all properties to set the witdh of the Columns.
But on runtime the width is set back. I even tried to set it in my code but it was still reseted.
Anyone got an idea ?
If you need more information feel free to ask.
You are probably setting the column width and then changing the DataSource on the grid to something new, so the grid is losing the layout.
Set the Width property of the column in the InitializeLayout event of the grid and that should persist, since the event fires any time the DataSource changes.
Or, check out this article which explains how to maintain the settings from design-time to run-time.
HOWTO:How can I define columns in the grid at Design-time and bind them at run-time so that some fields of the data are excluded from the grid?