i have UltraGridview and insert 3 column new
UtraGridview.DisplayLayout.Bands(0).Columns.Insert(0, column_name1)
UtraGridview.DisplayLayout.Bands(0).Columns.Insert(0, column_name2)
UtraGridview.DisplayLayout.Bands(0).Columns.Insert(0, column_name3)
but when insert in to Gridview then localtion of column not localtion
I'm not sure what the problem you're experiencing is. If you do the following:
e.Layout.Bands[0].Columns.Insert(0, "One");e.Layout.Bands[0].Columns.Insert(0, "Two");e.Layout.Bands[0].Columns.Insert(0, "Three");
Then the order of the columns will (correctly) be "Three", "Two", "One". This is because you're always inserting the columns at the beginning of the collection, so the last column that you add will be the first visible one.
-Matt
thank reply