Results 1 to 4 of 4

Thread: loading a store in codeigniter

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    NYC
    Posts
    33

    Default loading a store in codeigniter

    Hey is weird I can see in fiebug that the server gives me a response with the json data but then when I do console.log(store).
    the store is empty...

    this code works fine without codeigniter but when I use it in codeigniter the store stays empty even tho the json data is received..

    any idea? any one using codeigniter?

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    480

    Default

    Listen to the exception event of the store, the data store might be unable to parse the server response.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Location
    NYC
    Posts
    33

    Default

    man I really need to learn how to use exceptions .. I believe that is whats going on, the store is just not loading the response..

  4. #4
    Sencha User
    Join Date
    Aug 2009
    Posts
    480

    Default

    You can learn more about the exception event here.

    Here's how you can listen to it...

    Code:
     
    store.on({
        'exception': function() {
            console.log('failed', arguments);
        }
    });

Similar Threads

  1. ext.direct and codeigniter
    By Boon in forum Ext.Direct
    Replies: 3
    Last Post: 31 Aug 2009, 12:24 PM
  2. integration with codeigniter
    By italoc in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 28 Dec 2008, 10:54 AM
  3. Dataview with PHP Codeigniter
    By aslamdoctor in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Oct 2008, 9:54 PM
  4. integration with codeigniter
    By italoc in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 Feb 2008, 7:49 PM

Posting Permissions

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