1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Answers
    4
    Vote Rating
    -1
    sencha.user is an unknown quantity at this point

      0  

    Default Unanswered: Remove column headers in dynamic grid

    Unanswered: Remove column headers in dynamic grid


    Hi,

    I am using dynamic grid and model plugin,
    http://www.sencha.com/forum/showthre...-dynamic-model

    I will send in query dynamically to php file and it forms grid, but when there is no data, it still has column header like,
    zzb4zY.jpg

    How do I remove column header? I want empty grid when there is no data.

    Thanks!

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Answers
    4
    Vote Rating
    -1
    sencha.user is an unknown quantity at this point

      0  

    Default


    Some more info,

    I have dynamic grid in the panel like,
    Code:
    {
          xtype: 'dynamicGrid',
          url: 'php/update.php',
          viewConfig: {
                autoRender: true
                }
    }
    If I am not sending parameter to PHP, I shouldn't get column header. Currently I have it like,
    Code:
    if (arrayValues == '')
                {
                    alert("Select a column name");
                }
                else
                {
                var dynamicGrid = Ext.ComponentQuery.query('dynamicGrid')[0];
                dynamicGrid.getStore().load({
                params:{
                    param1: [arrayValues]
                }
            });
    }
    I want to do something in that alert portion to clear column header, since I don't define store for this grid, I don't know how to do.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Answers
    4
    Vote Rating
    -1
    sencha.user is an unknown quantity at this point

      0  

    Default


    Anyone?

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