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 “

”+sns.label+"
";

            },

            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


There is the ready sample with 2 inputs a section in the scheduler package:


dhtmlxScheduler/samples/02_customization/05_custom_editor.html