CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Read only prior to a set date/time

by zsleo » 13 Dec 2014 05:04

1. How do I prevent a new events being created prior to a set date/time?

2. When the scheduler is set "JQSchedulerLocale.Readonly := true" how do I allow a user to use the edit controls in the event popup

3. How do I restrict the start and end time for each day - Monday to Friday 9:00 to 17:00 and block out (read-only 12:00 to 13:00) and Saturday 10:30 to 16:00 and block out (read-only 12:30 to 13:30) and Sunday 10:30 to 13:00

4. How do I make holiday dates read only

Only just started to use Schedule for a real app today so many more questions I am sure.

TIA
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Alexander Bulei » 15 Dec 2014 10:56

Hi zsleo,

1. How do I prevent a new events being created prior to a set date/time?


What do you mean?

2. When the scheduler is set "JQSchedulerLocale.Readonly := true" how do I allow a user to use the edit controls in the event popup


ReadOnly - Indicate calendar is readonly or editable

3. How do I restrict the start and end time for each day - Monday to Friday 9:00 to 17:00 and block out (read-only 12:00 to 13:00) and Saturday 10:30 to 16:00 and block out (read-only 12:30 to 13:30) and Sunday 10:30 to 13:00


Doesn't supported, but if you have the source code, you can implement it by yourself :

viewtopic.php?f=107&t=1575

4. How do I make holiday dates read only


You can check and free onn OnAdd event

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by zsleo » 15 Dec 2014 22:54

1. How do I prevent a new events being created prior to a set date/time?

Sorry! A bad explanation! How do prevent a user from creating a new event? I do not want the user to create new schedule events prior to the current data and time? I can't get OnAdd event to trigger.

2. When the scheduler is set "JQSchedulerLocale.Readonly := true" how do I allow a user to use the edit controls in the event popup

ReadOnly - Indicate calendar is readonly or editable

I understand this but how do I lock individual scheduler events and not the whole scheduler. E.g. I don't want a user to edit scheduler events prior to the current date time

3. How do I restrict the start and end time for each day - Monday to Friday 9:00 to 17:00 and block out (read-only 12:00 to 13:00) and Saturday 10:30 to 16:00 and block out (read-only 12:30 to 13:30) and Sunday 10:30 to 13:00

I don't have source code but this is a very important feature for a scheduler. Not everyone works 24/7 :cry:

4. How do I make holiday dates read only

You can check and free onn OnAdd event


I cant get this event to trigger..
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by EitanArbel » 16 Dec 2014 06:52

question number 3 (How do I restrict the start and end time for each day ...) is very very important for me too, and i too don't have the source.

the code is already here in the forum.
Please add this feature in the next release.

Thanks
Eitan
EitanArbel
 
Posts: 115
Joined: 16 Jul 2013 22:27


Return to JQScheduler

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.