I added a checkbox to a chartbox with this code:
var newBox = '<input id="test" type="checkbox" value="test" data-dojo-type="dijit.form.CheckBox"/>';
new window.EvmClasses.chartBox(_domnodeId, _portletId, {
"htmlContent" : newBox + " Minuten bis zur automatischen Aktualisierung",
"left" : 100,
"top" : 0,
"width" : 400,
"height" : 25,
"bgColorFrom" : "#ffffff",
"bgColorTo" : "#ffffff",
"color" : "#000000"
});
it's working so far... but why can't I click the checkbox? Any suggestions? How can I realize a clickable checkbox?
Aucun commentaire:
Enregistrer un commentaire