Forum Discussion

BillSimpson's avatar
BillSimpson
Occasional Contributor
9 years ago
Solved

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 ...
  • BillSimpson's avatar
    BillSimpson
    9 years ago

    Hi


    After some trial and error if I added in the following lines using WaitWPFObject that waits for

    various 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 xamTextEditor2

    then it works.

     

    Thank you for the guidance.

     

    Regards

    Bill Simpson