1. #1
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    520
    Answers
    20
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default Answered: access DOM element of touched data view item when tapped

    Answered: access DOM element of touched data view item when tapped


    When a user taps on the row of a DataView (not a List) I'm trying to set the style of the DIV that was tapped. I can see the div element off of the TARGET param (called target.dom) passed into the onDataviewItemTap function but I don't know what to do with it once I have it.

    Was hoping I could do something like this.
    -> target.dom.setStyle('font-weight:bold'); but I only see errors in the console.

    I suspect I'm looking at this wrong. Can someone please school me?

    Thanks,
    John
    -->

  2. Code:
    target.setStyle('font-weight','bold')
    target.setStyle('font-size','35pt','important');

  3. #2
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    520
    Answers
    20
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    I also tried target.setStyle('font-size: 35pt !important;'); but that didnt work either.
    -->

  4. #3
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Answers
    64
    Vote Rating
    20
    haduki will become famous soon enough haduki will become famous soon enough

      0  

    Default


    Code:
    target.setStyle('font-weight','bold')
    target.setStyle('font-size','35pt','important');
    I write English by translator.
    -->

  5. #4
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    520
    Answers
    20
    Vote Rating
    41
    BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about BostonMerlin has a spectacular aura about

      0  

    Default


    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