Results 1 to 3 of 3

Thread: EditorGrid inside FormPanel submitting value for changed columns with no key

  1. #1
    Sencha User tysoncadenhead's Avatar
    Join Date
    Jul 2009
    Location
    Nashville TN
    Posts
    16

    Exclamation EditorGrid inside FormPanel submitting value for changed columns with no key

    So here's the problem that I'm running into. I have an editor grid inside of a FormPanel. Whenever I modify a record in the EditorGrid, and then submit the form, it's submitting the value of the first row that I changed with no key associated with it. At first I thought the the value was being submitted because the cell was "dirty", but it submits even if I commit the store.

    Ultimately, I'd like to not submit the grid values with the form that it is inside, but I would settle for being able to assign a key name to the value that the editor grid is creating. Does anyone have a solution for this?
    Tyson Cadenhead
    User Interface Developer
    http://tysonlloydcadenhead.com

  2. #2

    Default

    Needs codes. I just built an editor panel with a Json Store in a form and submitted it without your described behavior. Something in our code isn't matching up.
    Wes

  3. #3
    Sencha User bkraut's Avatar
    Join Date
    Nov 2007
    Location
    Maribor, Slovenia
    Posts
    403

    Default

    I also have this problem.
    If you build a form with an editable grid, it works ok if you have normal text fields. If you use combos for a cell editor the problem emerges.

    In my case, combo needs hiddenName, due to the value, key differences. When I edit a grid, I can submit a grid, but editors are not removed from the form and are submitted with the form.

    I'm using Spring and I get an error as the editors send fields which can not be resolved in the main object.

    travelclaimitem.jpg

Similar Threads

  1. Submitting form with only changed element values
    By npm2001 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 30 Nov 2011, 6:53 AM
  2. submitting the form on hitting enter key
    By rockys in forum Ext 2.x: Help & Discussion
    Replies: 13
    Last Post: 3 Jun 2009, 8:49 AM
  3. What is the right way for submitting a form on hitting the enter-key?
    By Northrog in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 10 Sep 2008, 4:03 AM
  4. JSON data can't load into a EditorGrid inside FormPanel
    By choykawairicky in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 15 May 2008, 6:46 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
  •