recurring event end date problem

hi stanislav,

I need your help , A problem occured in reccuring event end date , the date saved in database is 9999-02-01 00:00:00 . when i change this by editing in dhtmlxschedular_recurring.js file i will not display that rec event in schedular…can u plz tell me how to solve this problem

hey m waiting if anyody knows its solution plz reply

It is expected result, rec-events without fixed end-date will have such data in database ( it will show correct start and end times in scheduler )

hi stanislav,
thanx for reply…yes it shows correct date or time in schedular .Actually i want to retrive start date and end date of events for some kind of report purpose in which i have to display event start date and end date …so in recurring events it display will not dicsplay correct end date can u please tell me how can i retrive correct end date of recurring events which is display in schedular

waitig for your reply

Which server side language you are using, there are helper classes which can be used for such tasks for php and .net ( just reading from db is not enough as single rec-event record may result in many separate events )

i am using php

hi stanislav,
thankyou thankyou thankyou so much u are great man

one thing i also want to know

actually to edit event when we click on an event i opened a thickbox or shadowbox bye in which user can only saw the details of event and on he can do is to update the status of that event if he want but i am confused how to pass event id to thickbox to display all the details on behalf of that event id

can you suggest me the right way//

or as well as

is it possible that on edit event a lightbox open with some readonly fields which he is not authorised to edit and other fields which he can update. i dont want to use readonly form functionality because it makes all fields readonly but i want some fields readonly or some as normal

to pass event id to thickbox to display all the details on behalf of that event id

You can redefine showLightbox

scheduler.showLightbox = function(id){
//id - id of event
… custom logic here …
}

check samples\02_customization\16_custom_form.html

is it possible that on edit event a lightbox open with some readonly fields which he is not >>authorised to edit and other fields which he can update

Built in functionality can switch only all fields to readonly, there is no way to disable them partially.

Latest version supports such lightbox section as “template”, so during lightbox configuration you can define section as type:“template” and scheduler will render related data just as plain text, without ability to edit it.

what about secondone is it possible or not ?

is it possible that on edit event a lightbox open with some readonly fields which he is not authorised to edit and other fields which he can update. i dont want to use readonly form functionality because it makes all fields readonly but i want some fields readonly or some as normal

i am using dhtmlxschedular 3.0 is it have that functionality (type:template)
or if i use this then on event created same lightbox opened it will affect it or not?

{name:“priority”, height:21, map_to:“priority”, type:“template”, options:[
{key:“Low”, label:“Low”},
{key:“Medium”, label:“Medium”},
{key:“High”, label:“High”},
{key:“Alert”, label:“Alert”}
]},

it display nothing ad shown in attached file

it works fine if we edit event but on add event it will not display a textbox

i am using dhtmlxschedular 3.0
Yep, it is included in that version.

Template just shows a plain value, you can’t define options or any other configurations for it.

{name:"priority", height:21, map_to:"priority" }

Will show priority value as plain text