Hi, I have a grid with a column unbound. When I add a new , how do I value to this column from vb code?
Thank you
e.Cell.Row.Cells("DesZona").Content is incorrect ?
Private Sub dgNeg_CellExitedEditMode(ByVal sender As Object, ByVal e As Infragistics.Controls.Grids.CellExitedEditingEventArgs) Handles dgNeg.CellExitedEditMode If e.Cell.Column.Key = "CodZona" Then For i As Integer = 0 To snaZone.Count - 1 If snaZone(i).Codice = e.Cell.Value Then e.Cell.Row.Cells("DesZona").Content = snaZone(i).Descrizione Exit For End If Next End IfEnd Sub
I send you the example that don't work fine on unbound column 'nickname'.
I'm out of office, better control and I will tell you later.
Alex,
When you make changes to columns 'name' or 'surname', the corresponding changes should reflect (display) in 'nickname' column. the 'nickname' column is read-only, it's not to be changed by the user, rather by notification from 'name' or 'surname' columns.
There is a button showing on the image you attached. My sample did not have any button there. What is the funtion of that button?
Thanks,
Sam
Hi, not made any changes. If I change the value in the column "name" should also change the column unbound "nickname" ? Also if I refresh the item source, it change.
The sample 'XamGridUnboundColumn' that I provided should work unless you modified it. If you have modified it, can you re-attach the modified sample here so I can review it?
Thank you,