1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    219
    Answers
    10
    Vote Rating
    5
    webfriend13 is on a distinguished road

      0  

    Default Unanswered: Preventing resize event from getting fired when Grid Column's setWidth() is called

    Unanswered: Preventing resize event from getting fired when Grid Column's setWidth() is called


    HI All,

    I am looping through grid's columns and setting width of each column based on certain condition. Each time I call setWidth it fires resize event of grid. I want to prevent resize event. Is it possible? I dont want to override the default behaviour.

    http://docs.sencha.com/ext-js/4-1/#!...ethod-setWidth

    Please provide your suggestions.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    you may use Ext.EventManager for preventing firing of resize event.

    Just use removeResizeListener or removeListener

    For more clarifications, check below links:-
    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.EventManager-method-removeResizeListener

    http://docs.sencha.com/ext-js/4-1/#!...removeListener
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

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