Jun 19, 2013, 2:14 PM
[CLOSED] Grid editing doesn't work inside FieldSet
Hi,
I have a editable GridPanel inside a FieldSet. It is very simple, the editable column has an editor of type TextField.
The problem is that the editing doesn't work. Even if I double-click, nothing happens, as the editor were not in the grid.
If I remove the FieldSet (so I put the grid outside the fieldset), the editor works perfectly and displays properly the tetxtbox
on double click.
Can you tell me why I have this strange behaviour? Is this a known problem?
Below you find the piece of markup with fieldset and gridpanel; it's very simple.
Thank you
I have a editable GridPanel inside a FieldSet. It is very simple, the editable column has an editor of type TextField.
The problem is that the editing doesn't work. Even if I double-click, nothing happens, as the editor were not in the grid.
If I remove the FieldSet (so I put the grid outside the fieldset), the editor works perfectly and displays properly the tetxtbox
on double click.
Can you tell me why I have this strange behaviour? Is this a known problem?
Below you find the piece of markup with fieldset and gridpanel; it's very simple.
Thank you
<ext:FieldSet ID="ContainerFieldSet" runat="server" Title="Container" Collapsible="true" Collapsed="True">
<Items>
<ext:Checkbox runat="server" ID="chkIsContainer" Handler="checkIsContainer" FieldLabel="Checkbox" />
<ext:GridPanel runat="server" ID="gridContainer" AutoScroll="true" Height="100px">
<Store>
<ext:Store ID="storeContainer" runat="server">
<Model>
<ext:Model ID="modelContainer" runat="server">
<Fields>
<ext:ModelField Name="Id" />
<ext:ModelField Name="ContainerNumber" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
<ColumnModel runat="server">
<Columns>
<ext:Column ID="colContainerId" runat="server" DataIndex="Id" Hidden="true" Text="Id" />
<ext:Column ID="colContainerNumber" runat="server" DataIndex="ContainerNumber" Flex="1" Text="Number">
<Editor>
<ext:TextField ID="test" runat="server"></ext:TextField>
</Editor>
</ext:Column>
</Columns>
</ColumnModel>
<Plugins>
<ext:CellEditing ID="CellEditing1" runat="server">
</ext:CellEditing>
</Plugins>
</ext:GridPanel>
</Items>
</ext:FieldSet>
Last edited by Daniil; Jun 20, 2013 at 9:41 AM.
Reason: [CLOSED]