1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    6
    Vote Rating
    0
    muddsg is on a distinguished road

      0  

    Default Unanswered: change the name to something else

    Unanswered: change the name to something else


    Hi guys,

    I want to change a 'name' to something else. Like the name '1' to 'pokemon'.
    Sorry for being vague.
    Its something like this.
    nav.PNG
    I create a navigation view where if the user clicks on any of the number, it will go to a picture.

    This is when a user clicks the number '1'.
    picture.PNG

    This is my xml file
    xml.PNG
    Where u can see the cameraimageid is '1'. This is what i use.


    Then after parsing, this is my model.model.PNG
    I'm in need of help where u change the '1' to something like 'kpe' or 'ash'.

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    827
    Vote Rating
    55
    Answers
    84
    jerome76 has a spectacular aura about jerome76 has a spectacular aura about jerome76 has a spectacular aura about

      0  

    Default


    Ext.data.Model has a good example of that using the set() method.

Tags for this Thread