Categories | Question details Back To List | ||||||||||||||
set the custom details form readonly hi, In dhtmlxscheduler to show the details form as readonly , i used scheduler.getEvent(id).readonly = true; how to set the custom details form also readonly? regards rencin. Answer posted by Alex (support) on Dec 21, 2009 05:47 Hello, You can use readonly_form property: scheduler.config.readonly_form = true; The sample in the scheduler package is dhtmlxScheduler/samples/03_extensions/12_readonly_form.html Answer posted by rencin on Dec 21, 2009 20:10 hi, i used scheduler.config.readonly_form = true; But the custom details form added in the event window is not becoming readonly.In custom detail form i have added radio button, checkbox and textfiields . Even after using readonly_form property, they are not enabled as writable. How to set custom data also readonly? Thank you, rencin. Answer posted by mahesh on Dec 21, 2009 22:58 that is the same problem I am having. I finally had to resort to disabling the data processor to prevent updates of the forms although it is not a very elegant solution. Answer posted by mahesh on Dec 21, 2009 22:59 see this thread as well: http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=recent&q=13590 Answer posted by Alex (support) on Dec 22, 2009 04:15 Hello, try to attached file instead of the original one to solved the issued with custom form Attachments (1)
Answer posted by rencin on Dec 22, 2009 04:27 hi mahesh , i have seen the thread you have mentioned.
Answer posted by rencin on Dec 22, 2009 04:28 Hi Alex , when i added new dhtmxscheduler_readonly.js , a javascript error ' options is null or not an object' is shown. Also the event window is not opened. what is the problem? thank you,
Answer posted by rencin on Dec 22, 2009 04:32 Hi , I have some more queries...
For eg : User1 is going to schedule appointment with user2 calendar. The user1 has selected 01/01/2010 10.00 AM as startdate and 01/01/2010 12.00 PM as enddate. On clicking the image button, to check whether the date/time selected is suitable for two users , a new window is popped up showing the two users (user1 & user2) calendar (like unit view of dhtmlxscheduler) with two buttons such as SCHEDULE and CANCEL at the bottom as shown the picture given. Here it should display the time 10.00 Am to 12.00 PM of 01/01/2010 as selected .If any other appointment is already exist, the selected time should overlap over the appointment scheduled to make the user understand that the date/time selected is already booked. Now the user1 should be able to select another date and time (eg. 01.01.2010 2.00 PM to 01/01/2010 4.00 PM) for scheduling appointment in user2 calendar from the same window . Upon clicking the SCHEDULE button this window gets closed and should return to the event window which is already opened in the background. In this event window, the newly selected date/time (eg. 01.01.2010 2.00 PM to 01/01/2010 4.00 PM) should be automatically set as startdate and enddate. How to do this?Is this functionality possible with dhtmlxscheduler? 2 . In mutilple resource view , is it possible the change the layout? we requires ,the hours displayed at the top of the screen and users calendar displayed as rows from left as shown in picture.
regards rencin. Attachments (1)
Answer posted by Alex (support) on Dec 22, 2009 06:01 >> Does the mutiple resource view of dhtmlxscheduler meets the same ? currenly scheduler doesn't support the described functionality. Please contact us at sales@dhtmlx.com if you are interested in customization. >> when i added new dhtmxscheduler_readonly.js , a javascript error ' options is null or not an object' is shown. Also the event window is not opened. Locally the issue wasn't reproduced. Please, provide the scheduler initialization code to recreate the issue.
Answer posted by mahesh on Dec 22, 2009 17:02 When I use the provided javascript, the lightbox does not open when I double click, and is not viewable. |