【发布时间】:2013-02-15 07:20:59
【问题描述】:
当用户选中它时,如何显示图像(勾选的图像)而不是复选框的默认勾选?
我尝试使用checkedCls 配置,其中图像来自复选框的背面。
checkedCls: 'checkedBoxStyle'
.checkedBoxStyle{
background-image:url('http://www.chathamhouse.org/sites/default/files/public/images/buttons/tick-icon.png');
background-repeat:no-repeat;
}
jsfiddle 开始。
【问题讨论】: