PDA

View Full Version : How to set the property selectedItemCls of List?



sencha_liudong
16 Feb 2011, 3:28 AM
After I tap on the list item , i want to set the font color,but i use the below css ,i can't get the effect i want.
items:[
new Ext.List({
scroll:false,
selectedItemCls:'press_list',
itemTpl:new Ext.XTemplate(
....
.press_list{color:white;}

I find that after use the style ,when tap on the list item ,the item's background color bacame white,not font!
Please help me!
Thanks in advance!