admin管理员组文章数量:1415420
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
1 Answer
Reset to default 8You 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');
})
本文标签: javascriptjQuery FullCalendar not rendering in Bootstrap TabStack Overflow
版权声明:本文标题:javascript - jQuery FullCalendar not rendering in Bootstrap Tab - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745226495a2648630.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论