1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    8
    Vote Rating
    0
    alymcgeel is on a distinguished road

      0  

    Default Unanswered: multiple different dataitems in dataview

    Unanswered: multiple different dataitems in dataview


    Hi everybody.

    I have the following problem.

    I want to display several Dataitems in a dataview.
    So i have lets say two classes: one with a label - togglefiel - image
    and another one with label - sliderfield - image.

    Now i want to get all data from my store and foreach all the elements.
    For each element i want to decide if i display the dataitem version with togglefield oder sliderfield.

    is this behavior even possible?

    thank you in advance!

    best regards
    Alexander

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Answers
    148
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    You can't, but you can have a single dataitem wich display different components looking at the record values.
    That's no simple, but that's something you can do.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    8
    Vote Rating
    0
    alymcgeel is on a distinguished road

      0  

    Default


    Hi!

    thank you for your answer! It is good to hear that what i want to do is possible.
    Can you give me an example of how i can do it ?

    I have no idea how do implement this behavior.

    Has this logic to be in the dataitem class i wrote?

    best regards
    Alexander

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