1. #1
    Sencha User
    Join Date
    Jan 2014
    Posts
    3
    Vote Rating
    0
    pato909 is on a distinguished road

      0  

    Default Unanswered: How to display a hasMany association in a Datagrid

    Unanswered: How to display a hasMany association in a Datagrid


    Hello everybody,

    I'm a beginner with Extjs and i'll would like to display a hasMany association in a Datagrid.
    I've read a lot of topics about that and now i'm completely confused, i've not idea which solution is the better...

    My model ==> Continent hasMany Country.
    It's quite simple.
    Datagrid :
    Europe
    France - Paris
    Italy - Rome
    Asia
    ....

    I think Ext.grid.feature.RowBody is the suitable solution for that but I have any example.
    Is it possible to create a DataGrid in a rowBody. Where i can find an example ? ( with an hasMany association ).

    Thanks in advance and sorry for my bad English.

    Bye

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Are you asking for how to have a nested grid in a row?

  3. #3
    Sencha User
    Join Date
    Jan 2014
    Posts
    3
    Vote Rating
    0
    pato909 is on a distinguished road

      0  

    Default


    Are you asking for how to have a nested grid in a row?
    Yes, it's precisely what i try to do.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You would need to use a UX to provide this feature. Have a look at:
    https://github.com/mitchellsimoens/U...ionRowExpander

    Examples are present that will show how this is done.

  5. #5
    Sencha User
    Join Date
    Jan 2014
    Posts
    3
    Vote Rating
    0
    pato909 is on a distinguished road

      0  

    Default


    it works perfectly .. Thanks

Thread Participants: 1

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