Categories | Question details Back To List | ||
Schedular checkbox I found this great snipet for a checkbox in Schedular Detail View on your Site. How can I add more than one checkbox in a section? scheduler.form_blocks.checkbox={ render:function(sns){ var height=(sns.height||"130")+"px"; return "<div class='dhx_cal_ltext' style='height:"+height+";'><input type='checkbox'>"+sns.label+"</div>"; }, set_value:function(node,value,ev){ node.firstChild.checked=(value=="On"); }, get_value:function(node,ev){ return node.firstChild.checked?"On":"Off"; }, focus:function(node){ var a=node.firstChild; a.select(); a.focus(); } } Regards Christoph Answer posted by Alex (support) on Dec 10, 2009 08:08 There is the ready sample with 2 inputs a section in the scheduler package: dhtmlxScheduler/samples/02_customization/05_custom_editor.html |