[CLOSED] Grid Panel Editor Combobox

  1. #1

    [CLOSED] Grid Panel Editor Combobox

    Hi There

    am using a grid-panel with editor plugin for updating, deleting inserting records,

    i have a comobox editor in one of the columns of the grid-Panel every thing is working fine,

    I just want to update the comobox value in the database instead of text what r the steps for that

    below is the sample code

    
    <ext:GridPanel ID="GridPanel1" runat="server" Title="List Of Employees" StoreID="Store1"
    Border="false" Icon="UserEarth">
    <ColumnModel ID="ColumnModel3" runat="server">
    <Columns>
    </ext:Column>
     <ext:Column DataIndex="newEmpgrade" runat="server" Text="Grade">
    <Editor>
     <ext:ComboBox ID="cbEmpGrade" *runat="server" />
     </Editor>
     </ext:Column>
    </ColumnModel>
     <Buttons>
                                            <ext:Button ID="btnSave" runat="server" Text="Save" Icon="Disk">
                                                <Listeners>
                                                    <Click Handler="#{Store1}.sync();" />
                                                </Listeners>
                                            </ext:Button>
    Last edited by Daniil; Jan 29, 2013 at 3:52 AM. Reason: [CLOSED]
  2. #2
    Hi @Tonic,

    Please look at the DEPARTMENT column in this example.
    https://examples2.ext.net/#/GridPane...Field_Mapping/

    You should organize the thing in a similar way.

Similar Threads

  1. [CLOSED] Razor- Grid Panel Editor Combobox
    By OriCoder in forum 2.x Legacy Premium Help
    Replies: 31
    Last Post: Jan 25, 2013, 2:52 PM
  2. Combobox Grid Editor Dynamic
    By sysmo in forum 1.x Help
    Replies: 0
    Last Post: Aug 08, 2012, 7:36 PM
  3. Replies: 2
    Last Post: Feb 21, 2011, 5:22 AM
  4. [CLOSED] ComboBox editor in grid
    By PatrikG in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 08, 2010, 4:30 PM
  5. [CLOSED] Grid Panel editor combobox default value
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 08, 2009, 8:38 AM

Posting Permissions