1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Denmark
    Posts
    2
    Answers
    1
    Vote Rating
    0
    trix is on a distinguished road

      0  

    Default Answered: XML items with similar ID will not load

    Answered: XML items with similar ID will not load


    Hi
    I'm updating a Secha 1 app to Sencha 2. One of the problems I've encountered is with a Store using an XML reader.
    The XML I'm loading will at times contain the same item in different versions, but with the same value in the ID tag. Sencha 1 had no problems with this, but in Sencha 2, only one of the items are represented in the list.
    Is there a way to force Sencha2 to ignore the recurring ID tags?

    Kind Regards

    trix

  2. I solved it by setting "idProperty" on the model to a different tag, that is allways unique.

  3. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    Denmark
    Posts
    2
    Answers
    1
    Vote Rating
    0
    trix is on a distinguished road

      0  

    Default


    I solved it by setting "idProperty" on the model to a different tag, that is allways unique.

Tags for this Thread