Results 1 to 2 of 2

Thread: change the name to something else

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default 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
    1,149
    Answers
    132
    Vote Rating
    101
      0  

    Default

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

Tags for this Thread

Posting Permissions

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