Using Infragistics ultragrid, I need to allow user to change the column order, then capture this order, so user can return it to this order in future.
I can capture the column order in vb.net using:
For x = 0 To 100
tmp = tmp & UltraGrid1.DisplayLayout.Bands(0).Columns(x).Key & ","
Using writer As New IO.StreamWriter(fileNameOutput)
However, if I rearrange the columns in grid (by drag and drop) it does not change the column order.
How can I capture and reassign the actual visible order of columns?