Results 1 to 4 of 4

Thread: Nested List back button

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Leicester
    Posts
    68
    Answers
    2

    Default Answered: Nested List back button

    Hi All,
    I'm not sure this is a bug but still im posting it here
    , in nested list , the back button is made hidden and defaults to back .

    The nested list uses the title as back text and updates it automatically .

    if you call the method getBackText () it returns "back" because it set to that . but in reality the back text actually updates to title . so i think it should return the actual value of back button. ??

  2. If you get the back button via

    Code:
    nestedlist.getBackButton()
    The of course you can do getText() on that.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451
    Answers
    3997

    Default

    getBackText will always return the backText config, this is an autogenerated getter from the backText config.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Mar 2011
    Location
    Leicester
    Posts
    68
    Answers
    2

    Default

    Yeah thats fine , but only in nested list the back button has got random value according to the title .so if you need to get the value of that button in nested list , do you have any other option ?

  5. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451
    Answers
    3997

    Default

    If you get the back button via

    Code:
    nestedlist.getBackButton()
    The of course you can do getText() on that.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

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
  •