What steps will reproduce the problem? 1. A had a list of 2 diferent events groups. 2. the first group can be Dragged and Resised. but the second only can be Draged. 3.
What is the expected output? What do you see instead? disableDrag or disableResize is setted as a general property. Is a good thing makes distincts sets by events jSON. this will solve my a problem for editable itens with the day has passed
What version of the product are you using? On what operating system? 1.4.1
Please provide any additional information below.
I make a change at original code for my use. All bock like this:
if (event.editable || event.editable == undefined && options.editable) { draggableSlotEvent(event, eventElement, timeElement); if (seg.isEnd) { resizableSlotEvent(event, eventElement, timeElement); }
}
And change for this, passing a new parameter (resisable) in jSON:
if (event.editable || event.editable == undefined && options.editable) { draggableSlotEvent(event, eventElement, timeElement); if(event.resisable || event.resisable == undefined){ if (seg.isEnd) { resizableSlotEvent(event, eventElement, timeElement); } }
}
Comment #1
Posted on Nov 27, 2009 by Helpful Monkeythis might be a useful feature is some shape or form, but i have a question first: are these two event groups coming from two different event sources?
why i ask: maybe i can come up with a way to adjust settings for each event source. make this per-event seems a little messy.
ps- the problem w/ this feature is not the implementation, but making an API that people will understand
thanks.
Comment #2
Posted on Feb 6, 2010 by Helpful MonkeyIssue 306 has been merged into this issue.
Comment #3
Posted on Feb 6, 2010 by Helpful Monkeyok, based on issue 306's discussion, i understand now.
Comment #4
Posted on Feb 8, 2010 by Quick CatNot soo hard to understand I think. Instead of editable you can give us 2 options: resizable movable
I use different type of events and that would be great to block the resize of some kind of events while keeping the ability to move it away.
Comment #5
Posted on Aug 26, 2010 by Helpful MonkeyIssue 612 has been merged into this issue.
Comment #6
Posted on Oct 8, 2010 by Helpful MonkeyIssue 659 has been merged into this issue.
Comment #7
Posted on Oct 8, 2010 by Quick BearI really would like this on a per-event basis: at the moment I'm using events from 4 different database tables (holidays, appointments, taskdeadlines). Holidays aren't editable, appointments can be dragged and resized, taskdeadlines should only be dragged.
I put these in one event source though, because now I only have to execute one ajax call, instead of three.
Comment #8
Posted on Mar 22, 2012 by Quick HippoI've implemented my proposed solution to this problem and submitted it as a pull request on Github: http://code.google.com/p/fullcalendar/issues/detail?id=174
Comment #9
Posted on Aug 14, 2013 by Helpful Monkeythis was released in 1.6.3:
http://arshaw.com/fullcalendar/docs/event_ui/eventStartEditable/ http://arshaw.com/fullcalendar/docs/event_ui/eventDurationEditable/
(please note their Event Source and Event Object equivalents)
Status: Released
Labels:
Type-Feature