1. #11
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    nimda13 is on a distinguished road

      0  

    Default


    if I write

    Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); //SAVE columns property after refresh

    grid.columns[j].setVisible(false);
    AND
    grid.columns[j].hide();
    NOT WORK

  2. #12
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
    sna19 is on a distinguished road

      0  

    Red face Investigation

    Investigation


    Hi all,

    In spite of the fact that I am new in Sencha and this forum, I made some investigation and its result is presented here.

    First, I had a deal with the error "Cannot call method 'getWidth' of undefined" during the try to use hide() or setVisible() functions. Both of them uses the following code:

    this.el.hide();

    As the result, the error occured since el object is undefined.

    When I found it, the next step was to check this object at each stage of the grid initialization flow. The property el was initialized at rendering stage after calling parent method. Once it is initialized, the methods setVisible() and hide() are working propertly.

    render: function()

    {
    this.callParent(arguments);
    console.log (this.columns[3].el);
    //console.log (this.columns[3].setVisible(false));
    },

Similar Threads

  1. Replies: 5
    Last Post: 7 Jun 2012, 12:46 AM
  2. Replies: 1
    Last Post: 7 Apr 2011, 3:00 PM
  3. Replies: 1
    Last Post: 12 Nov 2010, 3:00 AM
  4. Problem with tab. Hide/unhide a tab doesn't work on IE
    By marxan in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 7 Sep 2010, 7:38 AM
  5. Replies: 3
    Last Post: 16 May 2009, 5:48 AM

Thread Participants: 4

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