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

navlinks in schedule component #4109

Closed
shah-dhaval opened this issue Oct 6, 2017 · 4 comments
Closed

navlinks in schedule component #4109

shah-dhaval opened this issue Oct 6, 2017 · 4 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@shah-dhaval
Copy link

I'm submitting a ...

[x] bug report

Current behavior
Currently no option provided for navLinks of fullcalendar in schedule

Expected behavior
there should be one input property for that allowed to set navLinks

  • PrimeNG version: 4.2.2 but also checked in master branch and it seems not even there
@karmadice
Copy link

Any update on this one? I also need navLinks to go to dayView on click action on date

@shah-dhaval
Copy link
Author

@aryanpatel I have downloaded primeng schdule module and then customized as per requirements, because wrapper of all feature from fullcalendar plugin will increase load on app.

@karmadice
Copy link

karmadice commented Oct 10, 2017

@dhaval-aspire Thanks for response. Can you give me hint of how you have customized it? I am sort of new to whole angular and ionic thing

@shah-dhaval
Copy link
Author

After downloading from https://github.com/primefaces/primeng/tree/4.2.2 copy folder located at 'src/app/components/schedule' put in your project ,
now in your app module instead of importing schedule module from primeng, import from schedule.ts

Now if you look schedule.ts file it is wrapper of fullcalendar so , create one input property

@Input() navLinks  = true;

and

    ngOnInit() {
        this.config = {
            theme: true,
            header: this.header,
            navLinks  : this.navLinks
            ...

@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Oct 20, 2017
@cagataycivici cagataycivici changed the title no option for navlinks in schedule component navlinks in schedule component Oct 20, 2017
@cagataycivici cagataycivici added this to the 4.2.3 milestone Oct 20, 2017
@cagataycivici cagataycivici added Type: New Feature Issue contains a new feature or new component request and removed Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add labels Oct 20, 2017
@cagataycivici cagataycivici self-assigned this Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants