1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Bangalore
    Posts
    23
    Vote Rating
    0
    ajainvivek is on a distinguished road

      0  

    Exclamation Hw to set dynamic toolbar......????

    Hw to set dynamic toolbar......????


    Hi Guys,

    I need global toolbar which gets dynamic text....The toolbar needs to b fixed like tab bar in the bottom....Any solution ...



    Thanks
    Ajain

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Bangalore
    Posts
    23
    Vote Rating
    0
    ajainvivek is on a distinguished road

      0  

    Exclamation cracked it....

    cracked it....


    guys if u wanna set static toolbar with dynamic text.....

    First set the toolbar in rootPanel

    Code:
    var toolbar = new Ext.Toolbar();
    Then set the content dynamically to the toolbar
    Code:
    //add listener to child panel
    listener:({
    //while the panel is visually activated 
    activate:function()
    {
    toolbar.setTitle('New Title');
    }
    //if u wanna deactivate the content after traversing to back page then
    deactivate:function()
    {
    toolbar.setTitle('Previous Title');
    }
    })
    Hope its useful for someone who is new 2 sencha touch...


    Thanks
    Ajain

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar