1. #1
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    dierp is on a distinguished road

      0  

    Default GXT 3.0 - expand and collapse events for TreeGrid

    GXT 3.0 - expand and collapse events for TreeGrid


    I can't find any way to intercept expand and collapse events for the TreeGrid... am I missing something or is this just not supported?

    Thanks

  2. #2
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Location
    Germany, Solingen
    Posts
    239
    Vote Rating
    2
    gishmo is on a distinguished road

      0  

    Default


    Have you tried tree.addBeforeExpandHandler(...)?

  3. #3
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    dierp is on a distinguished road

      0  

    Default


    Thanks for the reply, unfortunately I need to use a TreeGrid not a Tree.

    Actually, I would happily use a Tree but I also need it to be editable and can't find any way to make an editable Tree.

    Seems like a bit of a catch 22, need an editable Tree use a TreeGrid, need to handle expand and collapse use a Tree. Need both...

  4. #4
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Location
    Germany, Solingen
    Posts
    239
    Vote Rating
    2
    gishmo is on a distinguished road

      0  

    Default


    I think you will be able to use a tree for editable items.

    Just write your own cell, based Cell<C>, override onBrowserEvent and onRender with the behavior you want and use setCell(yourCell) to set the Cell inside the tree.

    I would give this a try.

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    87
    Vote Rating
    3
    esag_dk is on a distinguished road

      0  

    Default


    Is there a reason, expand and collapse events are not supported in a TreeGrid? I also miss that feature.

  6. #6
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    TreeGrid now implements HasBeforeCollapseItemHandlers, HasCollapseItemHandlers, HasBeforeExpandItemHandlers, and HasExpandItemHandlers. Changes are in RC2:

    http://www.sencha.com/forum/showthre...-now-available

  7. #7
    Sencha User
    Join Date
    Mar 2012
    Posts
    87
    Vote Rating
    3
    esag_dk is on a distinguished road

      0  

    Default


    Wow, that was fast - thanks!

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