Jan 14, 2009, 3:36 PM
[CLOSED] IE 7 - Grid Panel Row Double Click error
Hi,
I've just noticed a small bug in IE 7 (i've not tested in IE 6).
I've got a Grid Panel set up to open a new window as follows:
'this.getSelectionModel().getSelected().data' is null or not an object
If I double-click a row (without single clicking first) the window opens correctly.
I noticed this bug as in Firefox, a straight doubleclick doesn't work (doesn't report an error, just dblclick goes unrecognised) - you have to select the row first and then double click.
I'm using the latest build in the SVN, although this also occurred in 0.7
Cheers, Martin Hicks
I've just noticed a small bug in IE 7 (i've not tested in IE 6).
I've got a Grid Panel set up to open a new window as follows:
<AjaxEvents>
<RowDblClick OnEvent="RowDblClick">
<ExtraParams>
<ext:Parameter Name="ID" Value="this.getSelectionModel().getSelected().data['ID']" Mode="Raw" />
<ext:Parameter Name="Type" Value="Events" />
</ExtraParams>
<EventMask ShowMask="true" MinDelay="25" Msg="Loading data, please wait...." />
</RowDblClick
</AjaxEvents>
If you single click the row, then double click I receive the following JS error:'this.getSelectionModel().getSelected().data' is null or not an object
If I double-click a row (without single clicking first) the window opens correctly.
I noticed this bug as in Firefox, a straight doubleclick doesn't work (doesn't report an error, just dblclick goes unrecognised) - you have to select the row first and then double click.
I'm using the latest build in the SVN, although this also occurred in 0.7
Cheers, Martin Hicks