geoffrey.mcgill
19 Aug 2008, 2:15 AM
If a basic Checkbox is renderTo'd a container <div>, clicking on the actual "checkbox" does not check/uncheck.
Clicking just to the left of the checkbox, within the label space will check/uncheck.
The 'check' event is fired when clicking on checkbox.
Same behaviour in IE7 + FF3.
Example
<script type="text/javascript">
Ext.onReady(function() {
var checkbox1 = new Ext.form.Checkbox({
renderTo: "container",
autoShow: true // required, see http://extjs.com/forum/showthread.php?t=44566
});
});
</script>
<div id="container"></div>
Clicking just to the left of the checkbox, within the label space will check/uncheck.
The 'check' event is fired when clicking on checkbox.
Same behaviour in IE7 + FF3.
Example
<script type="text/javascript">
Ext.onReady(function() {
var checkbox1 = new Ext.form.Checkbox({
renderTo: "container",
autoShow: true // required, see http://extjs.com/forum/showthread.php?t=44566
});
});
</script>
<div id="container"></div>