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

      0  

    Default Answered: change my form to be editable

    Answered: change my form to be editable


    Hi guys, I have a form with data in it that is read only, in the form I have a button that should allow the user to edit the data. My approach was when i click the button, the controller sets the default read only to false, and the button does do this, but the data on the view stil shows that it is read only. Am i taking the wrong approach? Whenever i console.dir i see that the default read only is getting set to false, but nothing changes :/ .

  2. query for all input fields via ComponentQuery and loop through the results and call enable();

  3. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,169
    Vote Rating
    28
    Answers
    83
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      1  

    Default


    query for all input fields via ComponentQuery and loop through the results and call enable();

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

Tags for this Thread