Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Filtering calendar #110

Closed
malbert opened this Issue · 1 comment

1 participant

@malbert

Hi,

It is not an issue, but maybe it can help other that may need to filter the events shown on the calendar.

On the page I'm working on, you can display your events and "available" events on the same calendar thanks to a selector.
I loaded the new data subset and refresh the table view [self.tableView reloadData];

However, I still needed to refresh the calendar. So I added the below method to TKCalendarMonthTableViewController

-(void) refreshCalendar{
[[super monthView] reload];
}

Like this, the code to refresh the data in the custom controller is :

[self.tableView reloadData];
[self refreshCalendar];

Maybe there is a better way to do it. If not, adding just these few lines can help.

@malbert

well ....after reading my code, [self.monthView reload]; has the same effect!

@malbert malbert closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.