Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    63
    Vote Rating
    4
    maslofer is on a distinguished road

      0  

    Default [CLOSED]LoadData on an ArrayStore Appears Broken

    [CLOSED]LoadData on an ArrayStore Appears Broken


    I can initialize the store with the "data" property. But LoadData on the ArrayStore fails.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,987
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    In Ext4 loadData expects data in the format of:

    Code:
    store.loadData([{
        field1: 'foo1',
        field2: 'bar1'
    }, {
        field1: 'foo2',
        field2: 'bar2'
    }]);
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    236
    Vote Rating
    3
    ypandey is on a distinguished road

      0  

    Exclamation loadData doesn't use reader

    loadData doesn't use reader


    Why loadData doesn't use reader?
    Ideally when user is using array reader then loadData should take data in same format what load takes!
    What do you say?

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,987
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      1  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    236
    Vote Rating
    3
    ypandey is on a distinguished road

      0  

    Default


    Thanks

Similar Threads

  1. Slider documentation link appears to be broken
    By rhamflett in forum Community Discussion
    Replies: 12
    Last Post: 9 Oct 2011, 10:45 PM
  2. ArrayStore/ArrayReader broken in 0.94
    By cdonnellytx in forum Sencha Touch 1.x: Bugs
    Replies: 10
    Last Post: 18 Jul 2011, 4:05 PM
  3. [CLOSED][3.1.1] ArrayStore fields problem.
    By jeroenooms in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 15 Mar 2010, 4:33 PM
  4. [CLOSED][3.1] Is this a bug with jsonstore's loadData?
    By zzw0598 in forum Ext 3.x: Bugs
    Replies: 5
    Last Post: 28 Dec 2009, 1:04 AM
  5. [CLOSED][3.0.0] ArrayStore problem
    By mschwartz in forum Ext 3.x: Bugs
    Replies: 6
    Last Post: 16 Jul 2009, 7:20 AM

Thread Participants: 2