| Issue 174: | Separate the Drag property from Resize property | |
| 6 people starred this issue and may be notified of changes. | Back to list |
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);
}
}
}
------------------------
Nov 26, 2009
Project Member
#1
adamrs...@gmail.com
Feb 5, 2010
Issue 306 has been merged into this issue.
Feb 8, 2010
Not 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.
Aug 25, 2010
Issue 612 has been merged into this issue.
Oct 7, 2010
Issue 659 has been merged into this issue.
Oct 8, 2010
I 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.
Mar 22, 2012
I've implemented my proposed solution to this problem and submitted it as a pull request on Github: https://code.google.com/p/fullcalendar/issues/detail?id=174
Aug 13, 2013
this 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-Defect -Priority-Medium Type-Feature |
|
| ► Sign in to add a comment |