Results 1 to 2 of 2

Thread: [Ext6.5.2]dirtychange event not working...

  1. #1
    Sencha Premium User
    Join Date
    Jun 2017
    Location
    China
    Posts
    32
    Answers
    1
    Vote Rating
    0
      0  

    Default [Ext6.5.2]dirtychange event not working...

    dirtychange event not working when treelist make a change to unselect everything .
    There is a treelist and submit button in my panel.
    if it selected more than one in treelist,I uncheck one of the checkbox,it will enable the button。
    But,When only one of the checkbox is selected in treelist, I uncheck it now,the button still disable.
    code:
    dirtychange: function(form, dirty, eOpts){
    if(dirty){
    Ext.ComponentManager.get('cmp-usrSubmit').setDisabled(false);
    }else{
    Ext.ComponentManager.get('cmp-usrSubmit').setDisabled(true);

    }

  2. #2
    Sencha User yeghikyan's Avatar
    Join Date
    Mar 2009
    Location
    München
    Posts
    565
    Answers
    96
    Vote Rating
    46
      0  
    The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague.

Similar Threads

  1. [Ext6.5.2]dirtychange event not working...
    By MingPan@wistronits.com in forum Ext 6: Bugs
    Replies: 0
    Last Post: 5 Dec 2017, 1:57 AM
  2. Dirtychange for combobox not working
    By arvindwill in forum Ext: Q&A
    Replies: 2
    Last Post: 13 Feb 2013, 9:21 AM
  3. Replies: 2
    Last Post: 28 Dec 2012, 11:37 AM
  4. how to get ext.form.panel in dirtychange event
    By maneljn in forum Ext: Q&A
    Replies: 1
    Last Post: 14 Dec 2012, 9:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •