1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    30
    Vote Rating
    0
    columbus30 is on a distinguished road

      0  

    Default toggleGroup is not working

    toggleGroup is not working


    I have added a toggleGroup() within the listener of gridPanel on activate event.

    the code is as following:

    Code:
    listeners:    {
                                        activate : function(){
                                         alert('inside activate');
                                         var grid11 = Ext.getCmp('GridId');
                                         var g = (grid11.getView().getGroupId('P'));
                                         grid11.getView().toggleGroup(g,true);    
                                        }    
                            }
    when i first click on the tab for activating this grid panel,it shows
    the 'inside activate' alert but it does not toggle the group specified.

    But after this if click some other tab and then come back to this tab
    for activating this grid panel then toggleGroup() is working fine.

    I have tried it with other events like render also,but it is not working.

    Can anyone please tell what is the reason for this and how can i fix it.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    2
    tryanDLS is on a distinguished road

      0  

    Default


    Please don't post the same question in multiple places - other thread deleted.

Thread Participants: 1

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