Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User hectorgomis's Avatar
    Join Date
    Feb 2013
    Location
    Spain
    Posts
    42
    Answers
    1
    Vote Rating
    0
    hectorgomis is on a distinguished road

      0  

    Default Answered: Change form field to readonly dinamically

    Answered: Change form field to readonly dinamically


    I new to show a view, and before to paint, I need to change every field of the form to readOnly = true. It looks like is simple, but I don't know how to do it.

    Here my controller
    Code:
    this.getMyForm().items.each(function(f){
        f.readOnly=true;  //not working!!!!
    });
    Thanks!

  2. try
    Code:
    Ext.each(
      this.getMyForm().query('textfield'), 
      function(field){
        field.setReadOnly(true)
     }
    )

Thread Participants: 1

Tags for this Thread