Announcement

Collapse
No announcement yet.

disable edit in drag and drop, or disable week and day view

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • disable edit in drag and drop, or disable week and day view

    Hello,

    any way to disable drag and drop edit (in week and day view) any one can change timing.


    I try security but no luck

    any idea?

  • #2
    You cant using SC options. You need custom code, you can copy the SC HTML code generated in the calendar and paste in a BLANK APP to make that changes. All that options are configurable in javascript.

    You need to edit this js line to disable week and day and enable just "month":

    PHP Code:
          header: {
            
    left'prev,next today',
            
    center'title',
             
    right'month'
          
    }, 
    To disable drag and drop you need to change editable: true, to false

    PHP Code:
    editablefalse
    Last edited by hirambq; 08-11-2013, 05:33 PM.
    Best Regards
    Hiram BQ

    Comment


    • #3
      Where ?

      Originally posted by hirambq View Post
      You cant using SC options. You need custom code, you can copy the SC HTML code generated in the calendar and paste in a BLANK APP to make that changes. All that options are configurable in javascript.

      You need to edit this js line to disable week and day and enable just "month":

      PHP Code:
            header: {
              
      left'prev,next today',
              
      center'title',
               
      right'month'
            
      }, 
      To disable drag and drop you need to change editable: true, to false

      PHP Code:
      editablefalse

      So where do we change this in the latest version ?

      In the PHP file in can't find editable: false,

      I've tryed to change in the file located in C:\Program Files\NetMake\v7\wwwroot\scriptcase\prod\third\jqu ery_plugin\fullcalendar then recompile...nothing happens. The app behaviour is exactly the same.

      and yes..I comment out the lines.

      Thanks
      JM
      Last edited by JMTM; 12-08-2013, 08:34 PM.

      Comment


      • #4
        It's very useful to me!Good stuff...

        Comment


        • #5
          Hello hirambq,

          Would you please advise the detail how to do it? Also, I have encountered the same problems like JMTM.

          Would you please help?

          Comment

          Working...
          X