It took me a while to get it but this is what I did to select an EXTJS grid row in watir.
@browser.div(:id, "myGrid-body").table(:id, /gridview/)[1][1].click Hope that helps. Cat On Tuesday, May 26, 2009 1:14:26 AM UTC-6, Bhavesh Sharma wrote: > > Hi, > > I have to select the row under Grid which is an extjs code. > > When we have a grid, and want to select a "row" in the grid, for some > reason we cannot select it. We have sent click events and it appears > that we're getting the "right row" (watir highlights the row in the > browser), but our app code doesnt get the event from ext-js. > > Can some one help me how can i click/select this row, so that i can go > ahead. > > Any help is appriciated. > > Bhavesh > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
