1. #1
    Sencha User
    Join Date
    Dec 2007
    Location
    Vienna - Europe
    Posts
    3
    Vote Rating
    0
    macharti is on a distinguished road

      0  

    Default Autonumber in Template in DataView

    Autonumber in Template in DataView


    Hi guys!

    I've added {#} to your example "Creating a Simple DataView" in the Ext.dataview.Dataview - API. It always return 1 for every record and not 1, 2, 3 ....

    i
    temTpl: ''<div>{#} - {name} is {age} years old</div>''

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The only way you would receive the # is if you were within a loop inside of the record. Typically if it was a store with an association.

    There really is no autonumber within a template in a DataView as there is none on the Store.

    Sencha Inc

    Jamie Avins

    @jamieavins

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