[CLOSED] Cell editing with complex editor

  1. #1

    [CLOSED] Cell editing with complex editor

    Hello.
    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]
  2. #2
    Hi,

    Unfortunately, yes, it is a one of breaking changes and there is no direct substitution.

    There are possible alternative solutions:
    http://forums.ext.net/showthread.php...ll=1#post87243

    What one is appropriate for you?
  3. #3
    Thank Daniil for your clarification.

    I choose to implement a separate window for particular column editing.

    Thank you again.
  4. #4
    Good choice! I would also prefer this option if a customer would agree:)

Similar Threads

  1. Replies: 4
    Last Post: Jul 10, 2012, 5:35 PM
  2. [CLOSED] Editing cell of gridPanel
    By supera in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: May 23, 2012, 12:47 PM
  3. [CLOSED] GridPanel.start cell editing when key pressed
    By supera in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Mar 01, 2012, 7:04 PM
  4. Replies: 0
    Last Post: Apr 14, 2011, 7:10 AM
  5. [CLOSED] ColumnTree cell editing
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 04, 2011, 7:38 AM

Tags for this Thread

Posting Permissions