Read only

I want display all my events on the light box which are saved in DB (including custom fields). I am getting & saving & deleting events for normal dhtmlxscheduler i used these method for deleting & Saving,
—>scheduler.attachEvent(“onBeforeEventDelete”,function(id){
—>scheduler.attachEvent(“onEventSave”, function(id, data) {
but for ReadOnly.js i am not getting the values form DB when we double click on the event.(It just displaying the Description only).
------->> can you tell the Method can i use

AND my XML file will be like this

<data>
−
<event id="2">
<readonly>true</readonly>
<title>EMS</title>
<text>Ems Event</text>
<start_date>2010-08-12 00:00:00</start_date>
<end_date>2010-08-12 00:05:00</end_date>
<address1>CHENNAI1</address1>
<address2>SouthIndia</address2>
<city>CHENNAI2</city>
<states>T</states>
</event>

If you mean dhtmlxscheduler_readonly.js it takes lightbox configuration during firs call, and creates readonly view based on it. So if you are changing lightbox configuration at some later moment of time - readonly view will not be affected.

This is the only way, how different editable and readonly views can appear.

I got it .I used this one to display my DB values in lightbox

D("input", I, J, function(K) { return K.value