随笔 - 0, 文章 - 264, 评论 - 170, 引用 - 0
数据加载中……

extjs给radio的文字label替换成图片+文字方法

方法如下:

{
xtype: 'radiogroup',
   items: [
     { boxLabel: "<img src='xyz1.gif'/>radio1", name: 'radio', inputValue: 'radio1', checked: true },
     { boxLabel: "<img src='xyz2.gif'/>radio2", name: 'radio', inputValue: 'radio2' },
     { boxLabel: "<img src='xyz3.gif'/>radio3", name: 'radio', inputValue: 'radio3' },
   ]
}

posted on 2015-05-07 10:08 小一败涂地 阅读(1265) 评论(0)  编辑  收藏 所属分类: 前端开发(html、css、javascript、extjs等)相关


只有注册用户登录后才能发表评论。


网站导航: