Hi
I'm attempting to set the TextAlignment property of a GridViewExpressionColumn at runtime. The property is set correctly but the change is not reflected in the grid. The same change to a GridViewDataColumn works as I would expect - the alignment is set visually on the screen straight away.
var col =
this
.RadGridView.Columns[0];
col.TextAlignment = TextAlignment.Right;
I have found that it the column is removed and re-inserted it will work correctly:
var col =
this
.RadGridView.Columns[0];
this
.RadGridView.Columns.Remove(col);
col.TextAlignment = TextAlignment.Right;
this
.RadGridView.Columns.Insert(0, col);
Is this a bug? Or am I missing something?
Regards
Dave