Sep 20, 2012, 6:19 AM
[CLOSED] Cell editing with complex editor
Hello.
In 1.x I was able to create a complex editor for cell like this
Best regards.
In 1.x I was able to create a complex editor for cell like this
<ext:Column Header="Display Format" DataIndex="format" Width="145" MenuDisabled="true" Fixed="true" Sortable="false">
<Editor>
<ext:CompositeField ID="CompositeField2" runat="server" HideLabel="true" >
<Items>
<ext:ComboBox runat="server" Width="80" Title="Format" DisplayField="text" ValueField="value" >
<Items>
<ext:ListItem Text="Text" Value="0" />
<ext:ListItem Text="Currency" Value="1" />
<ext:ListItem Text="Number" Value="2" />
<ext:ListItem Text="Percentage" Value="3" />
<ext:ListItem Text="Multiple" Value="4" />
<ext:ListItem Text="Date" Value="5" />
<ext:ListItem Text="Yes/No" Value="8" />
</Items>
</ext:ComboBox>
<ext:ComboBox ID="FormatDecimalsCombo" runat="server" Width="60" Title="Decimals">
<Items>
<ext:ListItem Text="#,###" Value="0"/>
<ext:ListItem Text="#,###.#" Value="1"/>
<ext:ListItem Text="#,###.##" Value="2"/>
<ext:ListItem Text="#,###.###" Value="3"/>
</Items>
</ext:ComboBox>
</Items>
</ext:CompositeField>
</Editor>
</ext:Column>
but I am not able to this in 2.x. Could you suggetst the way how this could be implemented?Best regards.
Last edited by Daniil; Sep 21, 2012 at 5:21 PM.
Reason: [CLOSED]