Hi -
I am currenty using keyboard inputs (.Type micCtrlDwn and micCtrlUp) to select multiple rows in the UltraWinGrid. Is there a method that I can use to achieve this in an elegant way? I tried to search the help but could not find one. The .SelectRow does not appear to provide that ability.
Hello,
How can you tell the rows are being selected if this is the only method called? If you put a break point on the very next line of your script do they remain selected?
Let me know if you have any questions with this matter.
Once I call this method it selects rows and deselect them immediately (I am not calling any method ).
I need to click button 'Delete' button to verify that all the rows can be deleted or not.
Thanks in advance
Priyank,
What happens after the SelectMultiple method is called? What else is your script doing?
Hi,
I am using SelectMultiple method and rows also selected but , it not remain selected, rows deselected by it's own.
Please suggest. Thanks in advance
priyank vyas
Amol,
You could do this by using the SelectMultiple Method of SwfTable. You can see details on this method in the Help installed with TestAdvantage. When you have the help open, navigate to the following in the Contents tree:
API Reference Guide -> Namespaces -> Infragistics.QTPServer.WinGrid Namespace -> Classes -> WinGridReplayServer -> Members
This will give you a list of everything that you can call on SwfTable for the WinGrid. If you click on the link for the SelectMultiple method, you can get details on the how to use this method.