My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 174: Separate the Drag property from Resize property
6 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by file...@gmail.com, Nov 10, 2009
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
this 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.
Feb 5, 2010
Project Member #2 adamrs...@gmail.com
 Issue 306  has been merged into this issue.
Feb 5, 2010
Project Member #3 adamrs...@gmail.com
ok, based on  issue 306 's discussion, i understand now.
Status: Accepted
Feb 8, 2010
#4 bibendus...@gmail.com
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
Project Member #5 adamrs...@gmail.com
 Issue 612  has been merged into this issue.
Oct 7, 2010
Project Member #6 adamrs...@gmail.com
 Issue 659  has been merged into this issue.
Oct 8, 2010
#7 bram.van...@gmail.com
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
#8 treyhun...@gmail.com
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
Project Member #9 adamrs...@gmail.com
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

Powered by Google Project Hosting