由于lz水平有限在sencha-touch中只找到一种效果不是太好的checkbox控件,如果有更好的还请留言谢谢
使用checkboxfield能够实现简单的选中与取消的操作
xtype: 'checkboxfield',
id:'checkCalendar',
name : 'cool',
label: 'Cool',
hidden:false,
value: false,
listeners:{
check:{
fn: function(){
endCalendar.show();
//startCalendar.show();
}
},
uncheck:{
fn: function(){
endCalendar.hide();
//startCalendar.hide();
}
}
}