Sep 19, 2011, 3:42 PM
[CLOSED] Menu closes on DateField trigger click
Hi,
I have a PropertyGrid inside a Menu. One field in the PropertyGrid has a DateField as the editor. When clicking on the datepicker button of the DateField, the menu closes. Here is an example:
1. Load example
2. Click on "Open Menu" button
3. Mouse over "Test Menu"
4. Click in "Test" field
5. Click on datepicker button
You will notice that the menu (and the PropertyGrid inside it) closes when you open the datepicker.
Thanks
I have a PropertyGrid inside a Menu. One field in the PropertyGrid has a DateField as the editor. When clicking on the datepicker button of the DateField, the menu closes. Here is an example:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Button runat="server" Text="Open Menu">
<Listeners>
<Click Handler="Menu1.showAt(e.getXY());" />
</Listeners>
</ext:Button>
<ext:Menu ID="Menu1" runat="server">
<Items>
<ext:MenuItem runat="server" Text="Test Menu">
<Menu>
<ext:Menu runat="server">
<Items>
<ext:PropertyGrid runat="server" Width="300" AutoHeight="true">
<Source>
<ext:PropertyGridParameter Name="Test">
<Editor>
<ext:DateField runat="server" />
</Editor>
</ext:PropertyGridParameter>
</Source>
</ext:PropertyGrid>
</Items>
</ext:Menu>
</Menu>
</ext:MenuItem>
</Items>
</ext:Menu>
</form>
</body>
</html>
Steps to reproduce:1. Load example
2. Click on "Open Menu" button
3. Mouse over "Test Menu"
4. Click in "Test" field
5. Click on datepicker button
You will notice that the menu (and the PropertyGrid inside it) closes when you open the datepicker.
Thanks
Last edited by geoffrey.mcgill; Sep 28, 2011 at 3:46 AM.
Reason: [CLOSED]