1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    0
    qt4x11 is on a distinguished road

      0  

    Default Problem with Ext Direct and Grid Part 2 example

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,656
    Vote Rating
    436
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Ext JS 4 I assume?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    0
    qt4x11 is on a distinguished road

      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
    51
    Vote Rating
    1
    Erikvip is on a distinguished road

      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
    danielleng is on a distinguished road

      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.