1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    145
    Answers
    3
    Vote Rating
    1
    renganathan is on a distinguished road

      0  

    Default Unanswered: Disable / Freeze the Form

    Unanswered: Disable / Freeze the Form


    Hi All,

    I have the form, which is having many fields. Please refer the below image

    Test.png


    Here , based on the first drop down (group) value, i need to freeze/disable the entire form.


    Let me explain more clearly,

    In our project , user may not have privileges for some of the group. so based on the group selected i need to freeze or unfreeze the form.

    Can some one help me how to do that ?Test.png
    Last edited by renganathan; 20 May 2013 at 12:44 AM. Reason: Removed the attachments
    Thanks,

    RENGANATHAN M G

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,102
    Answers
    343
    Vote Rating
    500
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Listen to the select event on the combo box. After that, loop over all the fields in the form and disable/enable based on the selected value.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar