Forum Discussion

mkatsenos's avatar
13 years ago

Parse SL table

Hello!

I am trying to parse the 1st column of a grid, find the line that contains a specific text and click that line. The hierarchy though is not always the same. The text is contained in "Text.OleValue" property of each line(except line 3 that does not have any Text property). How can I do that?



line1: ...GridRow.ContentControl.content.DataContentPresenter.ScrollablePart.CellItemsControl.GridCellContentPresenter.PART_CellEditor.LayoutItem.DXContentPresenter.TextBlock;  



line2: ...GridRow2.ContentControl.content.DataContentPresenter.ScrollablePart.CellItemsControl.GridCellContentPresenter.PART_CellEditor.LayoutItem.DXContentPresenter.TextBlock2;



line3:                                         ...GridRow4.ContentControl.content.DataContentPresenter.ScrollablePart.CellItemsControl.GridCellContentPresenter;



line4: ...GridRow3.ContentControl.content.DataContentPresenter.ScrollablePart.CellItemsControl.GridCellContentPresenter.PART_CellEditor.LayoutItem.DXContentPresenter.TextBlock;



Thanks!

1 Reply

  • Hi,



    I've found a support case regarding the same matter from you in our DB. Alex has replied to it. If you have additional questions, I recommend that you continue working with him via e-mail.