Issue 848: Custom ContentHeight for different views not possible ?
Status:  Done
Owner: ----
Closed:  Mar 2011
Reported by ploeger....@gmail.com, Mar 9, 2011
Hello,

I want to set a custom contentHeigh for moth and agenda view.


I searched your docs and browsed through google...

Tried this:

1.)
 if (view.name == 'month') {
                                    contentHeight: '900'
                                }else{
                                    contentHeight: '900'
                                },

<- Not working at all.
Script stop working (PHP in it ?)

2.)
                                contentHeight: {
                                        agenda: '900',
                                        '': '900'
                                }, 

<- Works for (day & month)agenda view, but not for normal month view (Screenshot).


Is it a defect or not implemented yet ?

Thanks in advance,

Ploeger
Unbenannt.JPG
46.2 KB   View   Download
Mar 24, 2011
Project Member #1 adamrs...@gmail.com
1.) in JavaScript, it is not possible to do an if statement like that within an object's properties

2.) try 

contentHeight: {
   agenda: 900,
   month: 900,
   '': 500
}

but i cant help you further, this is not a support forum.
Status: Done