Home Forums WinForms controls Xceed Grid for WinForms Master/Detail Issue Reply To: Master/Detail Issue

User (Old forums)
Member
Post count: 23064

I have tried using datatables then adding them to the dataset and still get errors. This is the error that I am getting:

Xceed.Grid.GridException: The Column RepairTechs does not exist in the parent grid.
at Xceed.Grid.DataManager.BindToDataSource(Object dataSource, String dataMember, Boolean onlyWhenNotSameList, Boolean& dataChanged)
at Xceed.Grid.DataManager.ForceDataBinding(Object dataSource, String dataMember, Boolean onlyWhenNotSameList, Boolean createDataRows)
at Xceed.Grid.DetailGrid.OnContainingListChanged(IStructuredList oldContainingList)
at Xceed.Grid.GroupBase.set_ContainingList(IStructuredList value)
at Xceed.Grid.Collections.StructuredDetailGridList.OnInsertComplete(Int32 index, Object value)
at Xceed.Utils.Collections.ListBase.InternalAdd(Object value)
at Xceed.Grid.Collections.ReadOnlyDetailGridList.InternalAdd(DetailGrid grid)
at Xceed.Grid.DetailGrid.CreateDetailGrids(DataRow dataRow, Boolean synchronizeDetailGrids)
at Xceed.Grid.DetailGrid.UpdateDetailGridsOfMySelfAndSyncronizedChild()
at Xceed.Grid.DetailGrid.DataManager_DataRowsChanged(DataRowsChangedEventArgs e)
at Xceed.Grid.DataManager.InvokeOnDataRowsChanged(DataRowsChangedEventArgs e)
at Xceed.Grid.DataManager.CreateDataRows(Boolean forceDataRowsCreation)
at Xceed.Grid.DataManager.CreateDataRows()
at Xceed.Grid.DataManager.ReadDataRows()
at Xceed.Grid.DetailGrid.EndInit()
at Xceed.Grid.MasterGrid.EndInit()
at Xceed.Grid.GridControl.EndInit()

Imported from legacy forums. Posted by Mitchel (had 559 views)