1. #1
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default Initial validation of cell editors

    Initial validation of cell editors


    Hi all,
    I have text field as a cell editor in a grid cell. I want to show the cell as invalid if the value of the textfield is not valid. I have set the text field value using setValue() method. When I call textField.validate() method, it does not work properly as it is validating the raw value which wil be null or "" initially. I can't set the raw value of the text field before it is rendered. Is there a way to validate the text field before it is rendered.

    Thanks,
    Ganesh

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Hi.

    You could try calling the validate method on your FormPanel after it is rendered.

  3. #3
    Sencha User
    Join Date
    Nov 2009
    Posts
    51
    Vote Rating
    0
    smiletolead is on a distinguished road

      0  

    Default


    The fields get validated when they are rendered. Assume that there is a default value for a cell. How do I validate it before it is rendered. In this case, the cell editor for that cell is not yet rendered.

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