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.
GridPanel has a *getSelectionModel*() method.Yan can get a instance of
Ext.grid.RowSelectionModel.In this class you can add a listener and fire the
···
event of *rowdeselect.* 2009/5/3 Bhavesh Sharma < bhavesh1_sharma@rediffmail.com>
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.
begin
$ie.cell(:class, $1).click
rescue => e
rescueHandle(e)
return false
end
sleep($lightSleep)
else
puts "Not able to click cell ID"
end
Can you elaborate more.
Thanks
王新 wrote:
···
GridPanel has a *getSelectionModel*() method.Yan can get a instance of
Ext.grid.RowSelectionModel.In this class you can add a listener and fire
the
event of *rowdeselect.* 2009/5/3 Bhavesh Sharma <
bhavesh1_sharma@rediffmail.com>