Hi
Is it possible to move a grid column to a different position via code within grid’s initializelayout event?
Thanks
Regards
You can set the UltraGridColumn.LayoutInfo.OriginX property; this is a zero-based value that describes the visible position as relative to the left edge of the grid.
I tried below but it had no effect;
Private Sub grdEventList_InitializeLayout(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles grdEventList.InitializeLayout
Dim gridColumns As ColumnsCollection = Me.grdEventList.DisplayLayout.Bands(0).Columns
gridColumns(
"Tr").RowLayoutColumnInfo.OriginX = 24
End Sub
What am I missing?