jquery - show multiple days in basic day view in Full Calendar -


im using full calendar new project show month,week & day events. here on day button click, want show every day of current month in basicday view. example april 1 april 30 events 1 one.

here code

var date = new date(); var d = date.getdate(); var m = date.getmonth(); var y = date.getfullyear();  var events_array = [     {     title: 'test1',     start: new date(2012, 10, 1),     allday: false}, {     title: 'test2',     start: new date(2012, 10, 2),     allday: true} ];  $('#calendar').fullcalendar({     header: {         left: 'prev,next today',         center: 'title',         right: 'month,agendaweek,basicday'     },     defaultview: 'month',     events: events_array,        }).on('click', '.fc-basicday-button', function() { // code goes here }); 

if alternative solution there please suggest.

my output should this

https://drive.google.com/file/d/0b4nwrjm-jcahvktdafhxc0c0luk/view?usp=sharing

the yellow color should there current date.

please help, thanks.

that's not possible available views default. need create custom view:

something like:

views: {         agendathewholemonth: {             type: 'agenda',             duration: { days: 30 }         }     } 

or can work in totally custom new view. have more details in link above.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -