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

Add LazyLoadOnInit flag for Data View #12526

Closed
dannycg1996 opened this issue Jan 19, 2023 · 0 comments · Fixed by #13520
Closed

Add LazyLoadOnInit flag for Data View #12526

dannycg1996 opened this issue Jan 19, 2023 · 0 comments · Fixed by #13520
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@dannycg1996
Copy link

Describe the feature you would like to see added

There is no [lazyLoadOnInit] boolean input in the component.
In the p-table component, there is a flag for [lazyLoadOnInit] which is useful so as to not make double calls when unnecessary. p-dataView is missing that property- it would be really useful if you could add this.

Is your feature request related to a problem?

p-dataView is making an unnecessary backend call. This can of course be prevented, but having a lazyLoadOnInit flag would be the easiest way.

Describe the solution you'd like

Addition of a lazyLoadOnInit to the p-DataView.

Describe alternatives you have considered

No response

Additional context

No response

@dannycg1996 dannycg1996 added Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request labels Jan 19, 2023
femangl pushed a commit to femangl/primeng that referenced this issue Aug 21, 2023
femangl pushed a commit to femangl/primeng that referenced this issue Aug 21, 2023
@mertsincan mertsincan removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 29, 2023
@mertsincan mertsincan added this to the 16.2.1 milestone Aug 29, 2023
@mertsincan mertsincan linked a pull request Aug 29, 2023 that will close this issue
mertsincan pushed a commit that referenced this issue Aug 29, 2023
Co-authored-by: Felix Mangl <felix.mangl@ontec.at>
@mertsincan mertsincan removed the Status: Discussion Issue or pull request needs to be discussed by Core Team label Aug 30, 2023
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

Successfully merging a pull request may close this issue.

2 participants