Results 1 to 3 of 3

Thread: ComboBox inside EditorGridPanel with different displayField for each row

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    4
    Vote Rating
    0
      0  

    Cool ComboBox inside EditorGridPanel with different displayField for each row

    Hello, everyone!

    I'm new in ExtJS, and I'm trying to solve next problem.
    I have a response in json format:

    Code:
    {
        digit:
        [
            [id, field11, field12, ... ],
            [id, field21, field22, ... ],
            ...
        ]
    }
    I have a grid with single column that is a combobox. I need to display in each row of the grid each column of the input data.
    For now, I have data from the same column in each combobox.
    Please, help me, I will be very appreciated.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    119
      1  

    Default

    In the beforeedit event of the grid fill the combobox store with the fields of the current record.

  3. #3
    Sencha User
    Join Date
    Aug 2010
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Thak you very much!
    It really works!

Similar Threads

  1. displayField for ComboBox on EditorGridPanel
    By muppet in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 7 Jul 2010, 1:53 AM
  2. Replies: 1
    Last Post: 17 Jun 2010, 4:34 PM
  3. EditorGridPanel Combobox Row
    By thatcoder in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 3 May 2009, 8:36 PM
  4. Replies: 2
    Last Post: 5 Dec 2008, 11:54 PM
  5. [2.0b1][Solved]ComboBox inside EditorGridPanel not rendering correctly
    By GreenEyed in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 25 Oct 2007, 8:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •