最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - jQuery FullCalendar not rendering in Bootstrap Tab - Stack Overflow

programmeradmin1浏览0评论

I have a working fullcalendar on my site, however, the actual calendar table doesn't show until you change the month/year or select "today".

I using the jquery Tabs and have the FullCalendar in the second tab, First tab is active. When I click on second tab then it shows only month/year, weekly, monthly and today. When I click on any of those button then calendar is showing up.

Can anyone please help?

I have a working fullcalendar on my site, however, the actual calendar table doesn't show until you change the month/year or select "today".

I using the jquery Tabs and have the FullCalendar in the second tab, First tab is active. When I click on second tab then it shows only month/year, weekly, monthly and today. When I click on any of those button then calendar is showing up.

Can anyone please help?

Share Improve this question asked Sep 15, 2015 at 21:48 Debasish RoyDebasish Roy 211 silver badge2 bronze badges 1
  • Would need to see your code to really help – code Commented Sep 15, 2015 at 23:03
Add a ment  | 

1 Answer 1

Reset to default 8

You must render fullcalendar when tab changed

$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
    // TODO: check href of e.target to detect your tab
    $('#calendar').fullCalendar('render');
})
发布评论

评论列表(0)

  1. 暂无评论