1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    MVRBOSS is on a distinguished road

      0  

    Default How To set background color for Itemselector?

    How To set background color for Itemselector?


    I can't set background color for itemselector.If i giving style: 'background-color:green;', means only setting colors like in picture ..


    Screenshot-11.png

    i need to set inside of like that ...


    Screenshot-12.png

    my itemselctor is

    multiselects: [{ width: 200,
    height: 100,
    frame: true,
    id:'yes',
    store: consultantStore,
    style: 'background-color:green;',
    displayField: 'label',
    valueField: 'value'
    },{
    width: 200,
    height: 100,
    id:'otSelectedConsultants',
    frame: true,
    style: 'background-color:yellow; display:block;',
    store: Selected,
    displayField: 'label',
    valueField: 'value',

    }],


    Please Help me

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Location
    INDIA
    Posts
    8
    Vote Rating
    0
    prem.i2i is on a distinguished road

      0  

    Default Itemselector Background color

    Itemselector Background color


    Me to having the same problem please refer me some solution.....

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Try the following:

    where #ms1 = the ID of the one you want to change to blue

    Code:
    .x-boundlist {
    	border-width: 1px;
    	border-style: solid;
    	border-color: #98C0F4;
    	background: red;
    }
    
    #ms1 .x-boundlist {
    	border-width: 1px;
    	border-style: solid;
    	border-color: #98C0F4;
    	background: blue;
    }
    Regards,
    Scott.

Thread Participants: 2