-
Notifications
You must be signed in to change notification settings - Fork 369
custom template. first display does not work #279
Comments
Are you setting the template url in the config phase of your app like this? It might also be because the template isn't yet loaded into the templateCache if you're using an external template. You can get around this by inlining it like so:
I guess I could put in a check to ensure all templates are loaded first before rendering the calendar. |
You're setting the custom url from the day view, but your actual template is the month view url which is why it isn't working. |
ah ok. I have changed it. but i does not work. first display and after. |
Can you reproduce it in a plunker please? You can use this as a starter template: http://plnkr.co/edit/tursHHxWA8SdALaj0Bx6?p=preview |
http://plnkr.co/edit/j9FD0hEPTcV7YJnm26XR?p=preview |
the problem is only on firefox. IE and chrome are ok |
I've added a check in |
ok. i start on month view. when i click on 'day' it works. i can see my custom template. it works! |
Should be fixed in |
yes it is. good job |
Hello mattlewis92. many thanks for this project!
I've an issue. I want to use my custom template :
calendarConfig.templates.calendarMonthView = '/views/templates/calendar/calendarMonthView.html';
The first display does not work. only the first line of table is displayed.
when i change view (day, year...) and go back to Month, it is ok. the template is displayed.
there is the same problem for each custom template.
The text was updated successfully, but these errors were encountered: