跳转到主要内容

buttons_left

Description

保存一组位于 lightbox 左下角的按钮集合

buttons_left: any[]

Example

<style>
.custom_btn_info{
background-image:url('../../codebase/imgs/controls.gif');
width:20px;
}
</style>
<script>
scheduler.config.buttons_left = ["custom_btn_info"];
scheduler.locale.labels["custom_btn_info"] = "Info";
scheduler.init('scheduler_here',new Date(2013,05,11),"week");
...
scheduler.attachEvent("onLightboxButton", function(button_id, node, e){
if(button_id == "custom_btn_info"){
alert("Info!");
}
});
</script>

Default value: ["dhx_save_btn", "dhx_cancel_btn"]

Details

buttons_property

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.