1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    51
    Vote Rating
    1
    aminef is on a distinguished road

      0  

    Default finding a model from the loader?

    finding a model from the loader?


    Hi, I just wonder if I can get the index of a certain model from the loader.
    The reason is that I am using a liveGrid of persons, and when I add a person to that grid, I want to set the focus on it according to the order set by the loader.
    How am I doing the add : I save the person on the table, and i load back again to get the new list of people. I am also using pervasive for the DB, so I can't get the index of the added person, that's why I need to do it through the loader.

    Thanks

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Nov 2010
    Posts
    209
    Vote Rating
    -2
    Ersmarker has a little shameless behaviour in the past

      0  

    Default


    Hi.

    I'm not fully understanding what you are trying to do. Could you post a small testcase implementing EntryPoint.

    If you need to know the index of a "person" in a store you can use the following.

    store.indexOf(store.findModel("name", name));

  3. #3
    Sencha User
    Join Date
    Dec 2010
    Posts
    51
    Vote Rating
    1
    aminef is on a distinguished road

      0  

    Default


    Hi, Thank you for replying.

    Actually when I read my post it's kind of funny and doesn't make sens. sorry about that!

    But my problem was to find the index of a model on the server side (not from the store )
    I didn't figure it out, but I made an extra AsyncCall that does it, but not the way I want it... but it works

    Thank you anyway

Similar Threads

  1. About finding work
    By Mycoding in forum Community Discussion
    Replies: 8
    Last Post: 23 Oct 2010, 10:05 AM
  2. Replies: 2
    Last Post: 17 Jun 2010, 6:53 AM
  3. Finding some help
    By Dumas in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 25 May 2009, 11:28 PM
  4. finding the right this
    By wilderland in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 4 May 2009, 10:31 AM
  5. Help finding ID
    By hydra12 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 27 Nov 2007, 11:33 AM

Thread Participants: 1

Tags for this Thread

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