I want to change the selected row's cell value in a function changecellvalue().
I call that function from GridControl2_SelectedRowsChanged event.
I tried to set a value for a cell using the following code. But its not working. Please help me.
Dim dr As Xceed.Grid.DataRow = Me.GridControl2.SelectedRows(0)
dr.BeginEdit()
dr.ReadOnly=False
dr.Cells("Warnings").ReadOnly = False
dr.Cells("Warnings").Value = "Warning text"
dr.EndEdit()
Thanks ,
Monolisa
Imported from legacy forums. Posted by MONOLISA (had 2240 views)