Results 1 to 6 of 6

Thread: Problem with Ext Direct and Grid Part 2 example

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    1
      0  

    Default Problem with Ext Direct and Grid Part 2 example

    I'm working through the Ext Direct and Grid examples. I was able to get Ext Direct and Grid example Part 1 working, in order to get it working one of the things I had to do was edit php/classes/QueryDatabase.php with my MySQL host:port, username, password, and database name information.

    I downloaded the sample code for Ext Direct and Grid example Part 2, and edited php/classes/QueryDatabase.php the same way. I'm not able to run this example currently - it just says 'loading' where the data should be showing up in the grid. I tried running developer console to see if there were any errors - there were none.

    Is there anything else I can check to see why the sample code for Part 2 of the Ext Direct and Grid example is not properly loading for me? Thanks.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,339
    Vote Rating
    1297
      0  

    Default

    Ext JS 4 I assume?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    1
      0  

    Default

    Yes extj4. Part 1 of the tutorial worked fine after I added our database connection information.

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    55
    Vote Rating
    -1
      0  

    Default

    Use firefox / firebug. The AJAX request will show up in the console. Look at the JSON reply from the server - is it returning the correct data in result:{} ?

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    25
    Vote Rating
    0
      0  

    Default

    < What erik said.
    If it keeps showing "loading" it most probably means it was unable to complete a server-side method or query.

  6. #6
    Sencha User dsutton's Avatar
    Join Date
    Aug 2011
    Location
    Rockford, Illinois
    Posts
    7
    Vote Rating
    0
      0  

    Default Sorry to resurrect an old thread...

    Looks like the link at the bottom of the Ext JS 4.2.0 Docs "Ext Direct and Grid Part 2" point to the example files for Part 1. Could somebody check the link made make sure the Part 2 example files are there. Currently the link is: http://localhost/ext/docs/guides/dir...ence-files.zip

    I'm guessing that the correct link is:
    http://localhost/ext/docs/guides/dir...ence-files.zip

    -Thanks

Posting Permissions

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