1. #1
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default Newbie question about getting editorgrid row index

    Newbie question about getting editorgrid row index


    Hello,

    Im trying to copy a getselected row to a new row.

    How do I pass the getselected rowindex to my store.insert? Right now Im using the "0" row index to insert at the top.

    Be gentle ...Ive spend hours trying to figure this out ...

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,585
    Vote Rating
    319
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Your question is a little difficult to understand. It might have helped to have included a couple of short code snippets to show what you're currently doing.

    In many cases where you need access to the rowIndex it is already available as one of the arguments to whatever handler you are in. However, if all you have is the record then you can call store.indexOf(record) to find out its position in its current store.

  3. #3
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default


    store.indexOf worked.

    Thank You. I knew there hadtobe a way to do it.

    I ddint think about looking in the data class ...

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