Jun 24, 2010, 10:47 PM
[CLOSED] [1.0] Javascript error when closing a window containing a property grid
Close the window by hitting Close or the "x" in the upper right corner. Javascript error thrown when destroying the grid.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" />
<ext:Window runat="server" ID="win" Width="400" Height="400" CloseAction="Close">
<Items>
<ext:PropertyGrid ID="PropertyGrid1" runat="server">
<ColumnModel>
<Columns>
<ext:Column Header="Name">
</ext:Column>
</Columns>
</ColumnModel>
</ext:PropertyGrid>
</Items>
<TopBar>
<ext:Toolbar runat="server">
<Items>
<ext:Button runat="server" Text="Close" Icon="Cancel">
<Listeners>
<Click Handler="win.close();" />
</Listeners>
</ext:Button>
</Items>
</ext:Toolbar>
</TopBar>
</ext:Window>
</form>
</body>
</html>