Home Forums WinForms controls Xceed Grid for WinForms Inserting data programatically in master-detail grid Reply To: Inserting data programatically in master-detail grid

User (Old forums)
Member
Post count: 23064

try this:

Dim row As XceedGrid.CellRow = sender.parentrow
Dim gc2 As Xceed.Grid.DataRow = GridControl2.DataRows.AddNew()

gc2.Cells(“Col Name”).Value = txtTest.text
gc2.EndEdit()

Imported from legacy forums. Posted by Creat (had 687 views)