Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to display month events #182

Open
Raagu1993 opened this issue Feb 12, 2019 · 5 comments
Open

Not able to display month events #182

Raagu1993 opened this issue Feb 12, 2019 · 5 comments

Comments

@Raagu1993
Copy link

@twinssbc
When I click on the date in the month view, events are showing undefined. Could you please let me know how to resolve it? Kindly find the below screen grab.

image

@twinssbc
Copy link
Owner

@Raagu1993 If events is undefined, that mean there's no event on that date. Is that not expected?

@Raagu1993
Copy link
Author

Thanks, I am getting events.

After getting events in onTimeSelected function, how to bind events in monthviewEventDetail.html.
I am not able to bind it from controller

@twinssbc
Copy link
Owner

@Raagu1993 Could you provide your code?

@Raagu1993
Copy link
Author

Raagu1993 commented Feb 19, 2019

-In my controller I am assigning events to "selectedDate" as below

   $scope.onTimeSelected = function(selectedTime, events, disabled) {
              $scope.selectedDate = events;
    };

-I am trying to bind events values in monthviewEventDetail.html. Not able to print. I have added monthviewEventDetail.html custom.

image

-But, If I hard code any content in monthviewEventDetail.html. I am able to see in the view

image

-In HTML

image

@twinssbc
Copy link
Owner

@Raagu1993 You don't need to assign events to selectedDate. It is handled internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants