1. #1
    Sencha User
    Join Date
    Dec 2013
    Posts
    5
    Vote Rating
    0
    rafareyes7 is on a distinguished road

      0  

    Default problem with binding grid to form

    Hi, I'm trying to bind a form from a datagrid (ExtJs) here's the code running https://fiddle.sencha.com/#fiddle/2n6 the grid load perfectly but when I click a row the firebug console displays **TypeError: form is null** and the form don't get load with the data in the row I'm selecting stuck

  2. #2
    Sencha User Misiu's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    257
    Vote Rating
    73
    Misiu is just really nice Misiu is just really nice Misiu is just really nice Misiu is just really nice

      1  

    Default

    You should ask this in Q&A forum.

    Try this:

    I've changed some x-types in Your code. Notice id for form. This way You can query whole application for specific component.
    Also fieldset don't have loadRecord method, so I changed that x-type to form.
    Hope this helps.

Thread Participants: 1

Tags for this Thread