question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Group Events of Week/Day view

See original GitHub issue

Describe the bug Tried to adapt the grouping in month view into the week view: https://github.com/mattlewis92/angular-calendar/issues/281

how to access the group array now im the template?

See: https://stackblitz.com/edit/angular-wfnach?file=demo%2Ftemplate.html

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/angular-wfnach?file=demo%2Ftemplate.html

Screenshots

Versions

  • @angular/core: 6.0.0
  • angular-calendar: 0.24.x
  • Browser name and version: Chrome 67.0.3396.87

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mattlewis92commented, Sep 4, 2018

In this case then you could extend the week view component and adjust the template there:

@Component({
  selector: 'custom-week-view',
  template: `
   // copy and adjust from https://github.com/mattlewis92/angular-calendar/blob/master/projects/angular-calendar/src/modules/week/calendar-week-view.component.ts#L81-L278
  `
})
CustomWeekView extends CalendarWeekViewComponent {}
1reaction
mattlewis92commented, Aug 13, 2018

You can assign the value emitted to your components controller and then access the value in your custom template from there

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to group events by day of week? - Amplitude Community
I want to show the average or unique value of an event in the last 90 days, but grouped by day of the...
Read more >
38 Fun Corporate Team-Building Activities & Outing Ideas ...
Team outings are a great way to facilitate bonding with your team ... puzzle and turn your weekend activity into a contest to...
Read more >
75 Insanely Fun Team Building Activities For Work In 2023
Team building activities for work don't have to be boring... We've researched/interviewed how the best companies do team building right!
Read more >
80 Unique And Quirky Corporate Event Ideas That Your Team ...
If you're looking for some inspiration for the best and most fun corporate / work social events that your team will love, then...
Read more >
20 Fun Group Activities in Mountain View, CA - TeamBuilding
From Eagle Park Pool to Klein Park to Steven Creek Trail, Mountain View offers plenty of activities to do as a group. 1....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found