Forum Discussion
Does your grid have row indicators? If so, you can try ClickRowIndicator:
gridObj.ClickRowIndicator(rowIndex)
It should automatically scroll the grid to the specified row.
- krkarthik_info10 years agoFrequent Contributor
Thank you so much for the perfect solution. My grid is having ClickRowIndicator() method which helped me to select the row which is not visible on the screen.
Thanks,
Karthik K R
- Colin_McCrae10 years agoCommunity Hero
Sorry!
I pressed "Accept" instead of "Reply"!!!
My mistake. Can you undo it?
I intended to post this link:
And mention that I don't see "ClickRowIndicator" in there anywhere. :smileysad:
(The grid inherits it's methods from the DataPresenter class which is why my initial response links to a method of that)
- HKosova10 years ago
Alumni
Colin_McCrae wrote:
I intended to post this link:
And mention that I don't see "ClickRowIndicator" in there anywhere. :smileysad:
ClickRowIndicator is a TestComplete method that is added to all supported grids.