I want to change the position of the column dynamically in UltrWebGrid. I am not seeing VisiblePosition property of Header in my Ultrwebgrid. Is there any other way that i can change the Postion? Please advise.
ultraGrid1.DisplayLayout.Bands[0].Columns[0].Header.VisiblePosition
Hello
You can suggest it as an answer.
Thank you!
Its worked, Thank you :)
Hello,
you can move the columns programmatically in the following way;
For example in InitializeLayout Event handler :
88 protected void InitializeLayout(object sender, Infragistics.WebUI.UltraWebGrid.LayoutEventArgs e)
89 {
90 e.Layout.Bands[0].Columns[0].Move(1);
91 //Or directly in another event hadler:
92 UltraWebGrid1.Columns[0].Move(2);
93 }
Make sure your settings allow column moving:
Docs : Column Moving