1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    49
    Vote Rating
    0
    anmol is on a distinguished road

      0  

    Default Opening a div (container) on the groupclik of the grid.

    Opening a div (container) on the groupclik of the grid.


    Hi ALL,
    I have Ext Js grid, i am using it with group and goupsummary features.
    I want to open up a div(container) on the click of the Group Name.
    Following is the code i am trying but its not working:
    ********************************************************************************
    Ext.onReady(function () {
    GridCode
    {
    ...... Code of grid and all .......
    }

    listeners:
    {
    groupclick: function (arg1, arg2, arg3, arg4)
    {
    alert('hi'); //This fires fine that means 'groupClick' is firing.
    // But following two lines don't work .... dont know why.
    Ext.getCmp('contDetails').hide(true);
    Ext.getCmp('contDetails').getEl().show();
    }
    }
    });

    // Following is the container(div) which i want to show on groupclick.
    var newContainer = new Ext.Container({
    id: 'contDetails',
    width: 900,
    height: 200,
    renderTo: Ext.getBody(),
    hidden: true,
    style: 'background-color: #DEDEDE'
    });

    });
    ********************************************************************************

    Please help

    Thanks in advance !!!

  2. #2
    Sencha User
    Join Date
    May 2012
    Posts
    49
    Vote Rating
    0
    anmol is on a distinguished road

      0  

    Default


    Following code is also not working:
    ************************************************************************
    listeners:
    {
    groupclick: function (arg1, arg2, arg3, arg4)
    {
    var b = Ext.getBody();
    b.appendChild(newContainer);
    }
    }

    placing 'newContainer' outside of the Ext.onReady().

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi