Forum Discussion

taisapi's avatar
taisapi
Occasional Contributor
8 years ago

FindRow operation when cell contains another object.

Hi.

I am trying in a keyword test to select an item in a Winforms GridControl grid, first by using the FindRow method ,and then passing the row number of the matching row to a ClickCell operation.

 

My problem is that the grid cell contains an object rather than a text string.  

The FindRow operation finds the column caption, but does not match the search value.

 

The string is contained in the object's DisplayName or TokenCode properties.

Is it possible to obtain the row number of the required cell, and how do I specify this in the FindRow  operation?

 

EquipgridControl1.wValue([row], "Token").TokenCode = "Searchtext"

 

Thanks in Advance

1 Reply

  • taisapi's avatar
    taisapi
    Occasional Contributor

    Hmm.. I'm not exactly overwhelmed by the number of replies and solutions... Is the post missing some vital information? Some constructive guidance would be appreciated, if so.

    Cheers,