Dec 09, 2009, 5:16 AM
[CLOSED] [1.0] GridPanel CellClick DOM error
Hi all,
I have a new issue after last 1.0 update.
I'll try to explain it, it is quite complex to reproduce my scenario. I attached an image with the error.
GridPanel: at cellClick I open a new window, for first time it works fine, close window, click on row to open window again and get error. Don't know if related to CellClik, please have a look.
Matteo
I have a new issue after last 1.0 update.
I'll try to explain it, it is quite complex to reproduce my scenario. I attached an image with the error.
GridPanel: at cellClick I open a new window, for first time it works fine, close window, click on row to open window again and get error. Don't know if related to CellClik, please have a look.
...
<View>
<ext:GridView ForceFit="true" AutoFill="true" runat="server" ID="gvSp" />
</View>
<LoadMask ShowMask="true" />
<Listeners>
<CellClick Fn="cellClick" />
</Listeners>
<SelectionModel>
<ext:RowSelectionModel ID="SelectionModelStoredProcedures" runat="server" SingleSelect="true">
<DirectEvents>
<RowSelect OnEvent="GridPanelStoredProcedures_RowSelect">
<ExtraParams>
<ext:Parameter Name="StoredID" Value="this.getSelected().id" Mode="Raw" />
</ExtraParams>
</RowSelect>
</DirectEvents>
</ext:RowSelectionModel>
</SelectionModel>
<DirectEvents>
<CellClick OnEvent="TestStoredProcedure_CellClick" Failure="Ext.MessageBox.alert('Load failed', 'Error!');">
<ExtraParams>
<ext:Parameter Name="idStoredProcedure" Value="params[0].getStore().getAt(params[1]).id"
Mode="Raw" />
</ExtraParams>
</CellClick>
</DirectEvents>
Js code error at:
isValidParent:function(b,a){return b.getPositionEl().dom.parentNode==this.innerCt.dom}
ThanxMatteo