Using Infragistics WPF xamDataGrid, how do you add a child row to a parent row
Attached is a sample recorded and playback script of adding a row to an Infragistics xamDataGrid, then adding a child row. With the expected results of a parent row related to the child row.
The result of playback is Unable to find the object WPFObject("CellValuePresenter", "", 1).
The recording appears to be referencing the XamTextEditor cell of the parent row, and not the child row cell.
The object spy browser appears to also reference the same object.
Either the CellValuePresenter or the XamTextEditor object is incorrect.
Regards
Bill Simpson
Hi
After some trial and error if I added in the following lines using WaitWPFObject that waits forvarious objects in the calling tree. e.g.
call Aliases.RHICOMS_SAM.HwndSource_ShellWindow.ShellWindow.LayoutRoot.Grid.XamDockManager.DocumentContentHost.TabbedDocumentSplitPane.SplitPane.ztabGroupMainRegion.ContentpaneComponentsClasses.ModuleComponentsDimensionsView.Grid.XamDockManager.SplitPane.ComponentClassesContentPane.ComponentClassesGrid.Grid.RecordListControl.DataRecordPresenter4.DockPanel.DataRecordCellArea.ContentItemGrid.WaitWPFObject("CellValuePresenter")call Aliases.RHICOMS_SAM.HwndSource_ShellWindow.ShellWindow.LayoutRoot.Grid.XamDockManager.DocumentContentHost.TabbedDocumentSplitPane.SplitPane.ztabGroupMainRegion.ContentpaneComponentsClasses.ModuleComponentsDimensionsView.Grid.XamDockManager.SplitPane.ComponentClassesContentPane.ComponentClassesGrid.Grid.RecordListControl.DataRecordPresenter4.DockPanel.DataRecordCellArea.ContentItemGrid.CellValuePresenter.WaitWPFObject("XamTextEditor")
before setting xamTextEditor2then it works.
Thank you for the guidance.
Regards
Bill Simpson