-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
Right Click option #172
Comments
Right click where exactly? Do you mean to add a custom context menu when you right click?
… On 4 Apr 2017, at 05:01, dineshdedhia ***@***.***> wrote:
How can i implement right click option ? Is there any way to implement it ??
Thanks in advance
Cheers :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes, I want something like context menu on calendar on particular date & time. |
Which view? E.g. Month / week / day? And where abouts specifically?
… On 4 Apr 2017, at 11:16, dineshdedhia ***@***.***> wrote:
Yes, I want something like context menu on calendar on particular date & time.
Thanks
Cheers :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
On day view. My requirement is like where a user can open a context menu on specific time of a day. |
Something Like This. Thanks |
That's great, thanks for clarifying. The solution I have in mind will let you set a custom template for each row where you can use another 3rd party lib to add the context menu.
… On 4 Apr 2017, at 13:33, dineshdedhia ***@***.***> wrote:
@mattlewis92
Something Like This.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ok Thanks, |
I am waiting for your solution .. Thanks once again Cheers :) |
This is now possible in 0.12.0 by providing a custom template for the day view hour segment, I've added a demo which shows you how you could use this to implement a context menu here: https://mattlewis92.github.io/angular-calendar/#/context-menu Hope that helps! 😄 |
@mattlewis92 |
You could get the same result by using the md-menu instead of the ngx-contextmenu lib |
|
See the breaking changes (you need to upgrade to angular 4): https://github.com/mattlewis92/angular-calendar/blob/master/CHANGELOG.md#breaking-changes |
Thanks mate for your reply :) Thanks once again :) |
I'm afraid angular 2 is no longer supported in this lib, upgrading takes about 5 minutes, it's literally changing your package.json to use ^4.0.0 for all angular packages and adding the angular/animations module. It should take 5 minutes to upgrade.
… On 6 Apr 2017, at 08:27, dineshdedhia ***@***.***> wrote:
Thanks mate for your reply :)
But can I get solution for angular 2. As our entire project is on angular 2
Thanks once again :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@mattlewis92 and this is error I am getting. Thanks again for being supportive :) |
Expand the error message and it tells you what to do, you need to import the animations module
|
Thanks @mattlewis92 , |
The |
Thanks Alot @mattlewis92 Thanks :) |
Hello @mattlewis92,
How do I divide calendar day view in minutes.
Eg. 12:00, 12:15, 12:30, 12:45, 1:00
Thanks in advance :)
…On Thu, Apr 6, 2017 at 4:25 PM, Matt Lewis ***@***.***> wrote:
The mwl-demo-utils-calendar-header isn't part of this lib, it's only to
save repeating code on the demos, just delete its usage from your app
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALcxZT3oWNgbLXA4COztScsEEkj8oJnSks5rtMSIgaJpZM4MyW__>
.
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
Hello @mattlelewis92
I need division of minutes for hours segments should be something like this
E.g 12:00, 12:15, 12:30, 12:45, 1:00
[image: Inline image 2]
…On Fri, Apr 7, 2017 at 3:20 PM, Matt Lewis ***@***.***> wrote:
Set [hourSegments]="4", demo here
<https://mattlewis92.github.io/angular-calendar/#/day-view-hour-split>.
The API docs with all available options are here
<https://mattlewis92.github.io/angular-calendar/docs/components/CalendarDayViewComponent.html>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALcxZdE_lxoy5GJz1oiF_ha3_1Clmjixks5rtgb_gaJpZM4MyW__>
.
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
As in show all the times rather than just the hour? |
You'll need to change the day view to show minutes as well as hours with a custom date formatter, as shown in this demo and then add a global CSS rule with something like:
which gets you this: http://plnkr.co/edit/iRyk8y7OoyiJRPSYQs76?p=preview |
yes exactly
thanks @mattlewis92
Thanks alot :)
…On Fri, Apr 7, 2017 at 4:04 PM, Matt Lewis ***@***.***> wrote:
You'll need to change the day view to show minutes as well as hours with a
custom date formatter, as shown in this demo
<https://mattlewis92.github.io/angular-calendar/#/customise-date-formats>
and then add a global CSS rule with something like:
.cal-day-view .cal-time {
font-size: 11px;
display: block !important;
}
which gets you this: http://plnkr.co/edit/iRyk8y7OoyiJRPSYQs76?p=preview
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALcxZQLRUXkaVfrLy2dqowx1ZWGINObtks5rthEugaJpZM4MyW__>
.
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
Hello @mattlewis92
will this work with angular 4 material ?? Because I am not using bootstrap
On Fri, Apr 7, 2017 at 4:16 PM, dinesh dedhia <[email protected]>
wrote:
… yes exactly
thanks @mattlewis92
Thanks alot :)
On Fri, Apr 7, 2017 at 4:04 PM, Matt Lewis ***@***.***>
wrote:
> You'll need to change the day view to show minutes as well as hours with
> a custom date formatter, as shown in this demo
> <https://mattlewis92.github.io/angular-calendar/#/customise-date-formats>
> and then add a global CSS rule with something like:
>
> .cal-day-view .cal-time {
> font-size: 11px;
> display: block !important;
> }
>
> which gets you this: http://plnkr.co/edit/iRyk8y7OoyiJRPSYQs76?p=preview
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#172 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ALcxZQLRUXkaVfrLy2dqowx1ZWGINObtks5rthEugaJpZM4MyW__>
> .
>
--
*Thanks & Regards,*
* Dinesh Dedhia*
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
This lib doesn't actually depend on bootstrap, I simply use it in the demo as my design skills are poor. It should adapt to any project (although you might need some styling changes to make it fit) |
Hello @mattlewis92
Can you please guide me, in what all file you made changes ??
…On Fri, Apr 7, 2017 at 4:41 PM, Matt Lewis ***@***.***> wrote:
This lib doesn't actually depend on bootstrap, I simply use it in the demo
as my design skills are poor. It should adapt to any project (although you
might need some styling changes to make it fit)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALcxZVrWdQwNk1Jll1W1rX5jERHtL-5Cks5rthnKgaJpZM4MyW__>
.
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
Sorry I don't follow you |
Hello @mattlewis92
Sorry for wrong question
anyways Thanks alot :)
…On Fri, Apr 7, 2017 at 5:48 PM, Matt Lewis ***@***.***> wrote:
Sorry I don't follow you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALcxZeBSDd47RvWHVAKFVUtofGg1pOpvks5rtimNgaJpZM4MyW__>
.
--
*Thanks & Regards,*
* Dinesh Dedhia*
|
how can i disable context menu for next month dates and previous month dates @mattlewis92 |
How can i implement right click option ? Is there any way to implement it ??
Thanks in advance
Cheers :)
The text was updated successfully, but these errors were encountered: