Categories | Question details Back To List | ||
dhtmlx schedular, read-only form, and failure to render lightbox on double click with customized lightbox I get the following error. I have a customized lightbox with 3 select menus, and other customizations. I am using a work-around where I disable the .dp scrit, but it would be more elegant to block the lightbox. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Sat, 19 Dec 2009 06:50:13 UTC Message: Object doesn't support this property or method Line: 1 Char: 1129 Code: 0 URI: http://www.vmcrad.org/cal/codebase/ext/dhtmlxscheduler_readonly.js Answer posted by Alex (support) on Dec 21, 2009 01:14 onBeforeLightBox can be used to block lighbox: scheduler.attachEvent("onBeforeLightBox",function(){ return false }) Answer posted by mahesh on Dec 21, 2009 10:22 The script does block the lightbox, but what I was trying to do is view the lightbox in a read-only non-editable configuration so that users can see all the additional fields. So, I think I phrased the correction incorrectly. Is there a way to do that? Answer posted by Alex (support) on Dec 22, 2009 01:15 The readonly extension allows to define readonly_form property: scheduler.config.readonly_form = true; The sample in the scheduler package is dhtmlxScheduler/samples/03_extensions/12_readonly_form.html Answer posted by Alex (support) on Dec 22, 2009 04:16 The readonly extension that allows to block editing in custom form is attached here http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=13607&a=22231 |