Hide an event on a calendar

Hello i actually do a calendar app, but i’m stuck in fact i want than the user could create many different calendars and i don’t know how i can filtrate/hide the different events in function of the selected calendar, all the events are in the same data base. I use fullcalendar. Thank

on the data type you use to store the events you need a field of ‘type’ and have that be related to an option set that is the different types of events. Then you use that field as a filter constraint for populating the data in the calendar.