Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Copy column schema to another grid
posted

I have a number of grids which will all have the same columns.  Is it possible to set up the columns for one grid at design time, then "add" the columns from this grid to the other grids when the form loads?  I have been looking for something like UltraGridColumn.Clone but to no avail, or

Dim newCol as UltraGridColumn = grid1.DisplayLayout.Bands(0).Columns(0).Clone
grid2.DisplayLayout.Bands(0).Columns.Add(newCol)

Any ideas?

TIA

 

Parents Reply Children
No Data