Issue 1736: disableResizing based on view
Status:  Done
Owner: ----
Closed:  Aug 2013
Reported by donohuetechnology, Mar 14, 2013
I would like to be able to check the name of the current view and, if it is 'month', disable resizing. I know how to get the view.name and I think I know how the code should work but no matter where I put it the code won't work. I was originally thinking something like this:

if (view.name == 'month') {
resizeit = true
}
else {
resizeit = false
}

disableResizing: resizit,

That definitely doesn't work and I get all sorts of errors with the code. So I thought maybe something more like this:

disableResizing: function resizzle() {
if (view.name == 'month') {
			    return true	
			}
			else {
				return false
			}
			},

I'm still fairly new to this so I may be way out in left field. Hopefully this gives a good idea of what I'm trying to get and someone can give me the correct placement/syntax. I appreciate any help!
Aug 23, 2013
Project Member #1 adamrs...@gmail.com
you could probably detect this in viewRender:

http://arshaw.com/fullcalendar/docs/display/viewRender/
Status: Done