Read-only events with a twist

Hi,
I have tried using the readonly extension, BUT it does not work with my lightbox which has several dhtmlxcombo boxes and some radio buttons. They become greyed out, and in case of the combo boxes, no data is retrieved into them.

What I’m trying to do now is to use a readonly xml tag, load it with “1” for true, and “0” for false. Using this I would like to simply hide the Cancel and Delete buttons. I don’t care if the fields are editable, as there would be no save button.

alternatively, how would I modify the readonly extension to just hide the buttons but not disable the fields on the form?

Has anyone out there come up with asolution to this before?

pls help?

There is no way to control buttons in the lightbox , but you can use the next trick to hide unnecessary ones

viewtopic.php?f=14&t=10893

alternatively, how would I modify the readonly extension to just hide the buttons

dhtmlxscheduler_readonly.js , you can locate and comment the next line

txt_replace("input",d,n,false);

( it will be better to use uncompressed version from sources/ext/ext_readonly.js )

thank you!