Categories | Question details Back To List | ||
mutiline text in description field without closing window on The following code implementation that you suggested for multiline text failed: You can alter the render method as
I changed source.lightbox.js which should be the correct file, and the scheduler.config.lightbox above and it did not seem to make a difference. I am using the mysql approach and the mulltiple resource template.
Answer posted by Alex (support) on Oct 22, 2009 03:01 Please, provide some details. What result do you want to achieve ? Also you mentioned that you made changes in the source code. What are they ? Usually users include dhtmlxscheduler.js (not libraries from the source folder).
Answer posted by mahesh on Oct 22, 2009 08:51 Alex, When I enter a new event on the calendar, and a new window opens up to enter a description of the event, I enter a line of text and then a return. The return leaves the entry without saving the text. What I want is for a multiline text entry at this point so that <enter> does not terminate the process. Answer posted by Alex (support) on Oct 23, 2009 02:00 Hello, you can press shift+enter in order to type in new line. Answer posted by mahesh on Oct 23, 2009 08:27 Alex, Yes, I found this out from seaching the knowledge base from a prior poster, who was also somewhat dissappointed. Most folks I think would expect to preserve the formatting for a multi-line text input as well. It is counterintuitive unlike the rest of the system which really flows nicely. The other thing I have noticed is that the text entry after the second line fills the yellow entry box creates scroll arrows rather than continuing to fill the remainder of the empty box. Is there any way to fill the entire box first? Answer posted by mahesh on Oct 23, 2009 08:29 Answer posted by mahesh on Oct 23, 2009 08:30 Please see prior note also. The other problem with shift/enter is it does not show the same formatting on the calendar view but seems to ignore the new line. Answer posted by Alex (support) on Oct 23, 2009 09:11 You can try to set text template as follows: scheduler.templates.event_text=function(start,end,event){ } Answer posted by mahesh on Oct 23, 2009 11:10 Alex, This does not seem to work.
|