1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    82
    Vote Rating
    1
    Answers
    5
    markevans is on a distinguished road

      0  

    Default Unanswered: Updating titles in a nested list.

    Unanswered: Updating titles in a nested list.


    Hoping someone can point me in the right direction. I have a nested list. I don't want the default functionality that sets the title to the text in the item selected.

    I know I can turn this off in the config with "updateTitleText". However, once I do this the title *never* updates even when I use "setTitle" with a listener, whether in a controller or defined as a listener in the config. The listener does detect the proper event and the "setTitle" method executes without complaint.

    When I use "getTitle", it returns the new, updated text. However, the visible titlebar text does not change. I'm on ST2.1.0.

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    82
    Vote Rating
    1
    Answers
    5
    markevans is on a distinguished road

      0  

    Default Use getToolbar().setTitle('New Title') for nested lists.

    Use getToolbar().setTitle('New Title') for nested lists.


    As far as I can tell using the "setTitle()" method doesn't work as documented when applied directly to the nested list.

    I did get it to work when I did nestedList.getToolbar().setTitle('new title goes here').

Tags for this Thread