Posts

Showing posts with the label fullcalendar

Dynamically toggle resource column visibility

Dynamically toggle resource column visibility I have a FullCalendar scheduler on a webapp which has 2 way databinding for resources and events, all working great. I want to be able to present the user with a dropdown that enables them to toggle the visibility of a column, ideally completely client side. I have tried a combination of addResource / removeResource however my issue here is that a rerender of the calendar (e.g. when a new event is added) then displays the previously removed resource. I can work around this however would prefer a really simple approach using JS / CSS. I currently cannot find a way to set a resource to not be visible, or to have zero width - is this possible? "a rerender of the calendar (e.g. when a new event is added) then displays the previously removed resource". Can you show code which reproduces this? I can't make it do that - see demo at jsfiddle.net/toytd26b/10 - click the "remove resource" butto...