1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    MichelH is on a distinguished road

      0  

    Question Unanswered: Validating data Model Firebug returns validate is not a function

    Unanswered: Validating data Model Firebug returns validate is not a function


    Hello together,

    i'm new to ExtJs and have a problem with validating a model which i'm using for a Grid. I've already searched the web but couldn't find an answer ...

    The theoretic way i'm doing it is that i define my model putting this to a data Store and that store i'm using for my grid.

    In the grid i use the celleditings event edit on which i tried to retrieve the model to validate it but all i tried didn't work and Firebug always said validate() is not a function.


    Anybody an idea what could be the reason for my problem?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,574
    Answers
    540
    Vote Rating
    311
    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


    It would be easier to help if you posted some code.

    Instances of models are known as records. Chances are that the record you are retrieving is not actually a record at all, hence the method is missing. Try adding some logging just before you validate it to confirm that everything is what you think it is.

    e.g.:

    Code:
    console.log(record);
    console.dir(record);
    console.log(record.validate);

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