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

can i have context menu on an event #178

Closed
KaranSaldhana opened this issue Apr 7, 2017 · 9 comments
Closed

can i have context menu on an event #178

KaranSaldhana opened this issue Apr 7, 2017 · 9 comments

Comments

@KaranSaldhana
Copy link

KaranSaldhana commented Apr 7, 2017

rightclick

@etwillbefine
Copy link
Collaborator

I'm pretty sure this duplicates #172 (comment)

@mattlewis92
Copy link
Owner

That issue was about adding a context menu on each row of the table, it's currently not possible to provide a template to day view events, it's kind of tricky to implement but I'll have a go 😄

@KaranSaldhana
Copy link
Author

Thanks @mattlewis92 :)

@mattlewis92
Copy link
Owner

Found a way to do it and released it as 0.13.0. It should work pretty much the same as the context-menu demo but you'll just need to provide a custom template for the eventTemplate input instead 😄

@KaranSaldhana
Copy link
Author

Hello @mattlewis92

I have cloned a new repo and followed these steps

git clone https://github.com/mattlewis92/angular-calendar.git
git checkout be4d5ee
git checkout -b calendar
npm start
then i m getting this error
console-error

@mattlewis92
Copy link
Owner

Oh it's because the path separators are different from unix systems, fixed here: c44c626

@KaranSaldhana
Copy link
Author

KaranSaldhana commented Apr 10, 2017

Hello @mattlewis92 ,

As per the screenshot shared in the previous post i.e.
aa38228a-1b99-11e7-8963-40c3729e503e

For e.g. When I perform a right click on a blank row I get context menu "Add event", and on click of that "New Event" is created.

Now when I right click on "New Event" once again I need context menu. As shown in image.

Thanks alot for help once again :)

@mattlewis92
Copy link
Owner

mattlewis92 commented Apr 10, 2017

You need to provide a custom template for the events as well and then add the context menu to it, like this

@KaranSaldhana
Copy link
Author

Thanks alot :) Cheers

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

3 participants