Angular-Ui-Calendar: Filter events in calendar based on dropdown selection

467 views
Skip to first unread message

anil....@xymob.com

unread,
Jul 3, 2013, 2:40:23 AM7/3/13
to ang...@googlegroups.com

I am using Angular-Ui-Calendar and I have 3 views in my calendar. I added a dropdown with user list above the calendar. So my goal is to filter rendered events based on dropdown selection.

here is my plunkr code

http://embed.plnkr.co/qfzCSi/preview

or

http://plnkr.co/edit/qfzCSi?p=preview

please give me some solution for this.

Alexander Kohout

unread,
Jul 4, 2013, 2:25:18 AM7/4/13
to ang...@googlegroups.com
Use Event Sources, so that your calendar gets the data via JSON from your API. Everytime the user selects sth you can remove one Event Source and replace it with another. THen you can just call rerender to get the fresh data.
Reply all
Reply to author
Forward
0 new messages