1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    santhony7 is on a distinguished road

      0  

    Default Data grid selection not representing entire model

    Data grid selection not representing entire model


    I might just be missing something basic here but I noticed that if I don't include a column for a model property, the value is missing when the selectionChange event is fired.

    I have a panel.grid that is bound to the StudentsStore which is bound to Students model. When the data is returned by the API it has FirstName, LastName, PhoneNumber. If the data grid has a column for FirstName and LastName but NOT PhoneNumber, when an item is selected its data (a model instance) no longer has PhoneNumber.

    I imagine this is because it is "creating" a model based on columns but I hope I am wrong. It would be ideal to get a reference to the original model or at least all of its data.

    Am I missing something?

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,
    May you provide your code for better understanding
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    4
    Vote Rating
    0
    santhony7 is on a distinguished road

      0  

    Default


    Actually, I was totally wrong. I am 90% sure it was just some bad data. Sorry!

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