I'm setting the alignment and I have to call Databind after working on the data a bit with this code
ultraGrid.DataSource = dt;
ultragrid.DataBind();
but when I do all the texthalign properties for the columns get set back to left, any ideas how to keep the alignment settings when calling databind? Thank you, Jamie
Hi Jamie
I would suggest handling the InitializeLayout event and putting your alignment code into there.
InitializeLayout gets called every time data is set on the grid so it would guarantee your alignment gets applied every time.
Hope this helps!
I won't be able to do that because I allow the user to set the alignment of the columns