Sponser Link

Infragistics Ultragrid disable edit on specific column

You can editable or lock specific columns in infragistics grid. Firstly you have to make non editable of all columns using loop then you can set Activation as allow edit of specific columns.

            

            For i As Integer = 0 To Me.UltraGrid1.DisplayLayout.Bands(0).Columns.Count - 1

                Me.UltraGrid1.DisplayLayout.Bands(0).Columns(i).CellActivation = Activation.NoEdit

            Next

            UltraGrid1.Text = "Item List"

            Me.UltraGrid1.DisplayLayout.Bands(0).Columns("Col1").CellActivation = Activation.AllowEdit

            Me.UltraGrid1.DisplayLayout.Bands(0).Columns("Col2").CellActivation = Activation.AllowEdit