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.

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    theparakeet is on a distinguished road

      0  

    Default how to change the background color of checklists

    how to change the background color of checklists


    Hi everyone- I am new at sencha touch and have been looking extensively on the web to find a way to change the background color for the check boxes that are part of multiline labels in a radio list.

    THere is a bug that has been reported when the labels are multiline - sencha touch doesn't extend the fill for the checkbox all the way down to cover the width of the text - creating what looks like a gap in the overall display of the grid.

    We thought a work around would be to change the background color or either the checkbox or the whole grid itself.

    Can anyone respond to our techy SOS??

    Thanks!!

  2. #2
    Sencha User Sameer Khan's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore, India
    Posts
    113
    Vote Rating
    0
    Sameer Khan is on a distinguished road

      0  

    Default


    var selectfields = this.query('selectfield,radiofield');
    for( var i = 0; i < selectfields.length; i++ ) {
    var fld = selectfields[i];
    if( fld.store && fld.store.storeId == 'diagnosticCodes' ) {
    fld.addListener( 'change', this.onDiagnosisSelect, this );
    } else {
    fld.addListener( 'change', this.onItemChange, this );
    }
    }

    onItemCheck: function(resform,nval,oval) {
    this.getEl().dom.yourfieldname.style.backgroundColor='#CECECE';
    this.getEl().dom.tt.yourfieldname.disabled=true;
    }

    onItemUnCheck: function (resform,nval,oval){
    this.getEl().dom.yourfieldname.style.backgroundColor='white';
    this.getEl().dom.tt.yourfieldname.disabled=false;

    }

    //Comment for the above code
    1.write the query method in your panel/formpanel,pass args as selectfield , radiofiled. textfield...etc whatever the fields you want to disable.

    2. Implement the following events for the respected fields to disable them / to enable them
    Sameer Khan

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    7
    Vote Rating
    0
    theparakeet is on a distinguished road

      0  

    Default It Works

    It Works


    That works perfect! Thanks so much.

Similar Threads

  1. How can I change grid background color?
    By sergiu079 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 20 Aug 2010, 3:13 AM
  2. Replies: 2
    Last Post: 12 Apr 2009, 5:52 PM
  3. Change the grid background color
    By junkzilla in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 29 Aug 2008, 8:51 AM
  4. Change row's text color (not background-color) in grid
    By khnle in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 5 Feb 2008, 6:47 AM
  5. Change background-color
    By pongz79 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 29 Nov 2007, 10:49 AM

Thread Participants: 1