dhtmlx schedular, read-only form, and failure to render ligh

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: vmcrad.org/cal/codebase/ext/ … eadonly.js






onBeforeLightBox can be used to block lighbox:


scheduler.attachEvent(“onBeforeLightBox”,function(){



return false


})



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?


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

The readonly extension that allows to block editing in custom form is attached here dhtmlx.com/docs/products/kb/inde … 07&a=22231