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

valueChange event for DataTable #3593

Closed
orsolli opened this issue Aug 7, 2017 · 0 comments
Closed

valueChange event for DataTable #3593

orsolli opened this issue Aug 7, 2017 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@orsolli
Copy link

orsolli commented Aug 7, 2017

[ ] bug report => Search github for a similar issue or PR before submitting
[ X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Expected behavior
Whenever the datatable has changed its value and dataToRender and totalRecords, an event should be called. similar to (filter) and (sort) it sould be a (value) or (changed) or (valueChanged) or (init) or (updated) event.

Minimal reproduction of the problem with instructions
Plunker demomstrating the missing feature:
http://plnkr.co/edit/CDlCwguEEkiT95LjjAcZ?p=preview

What is the motivation / use case for changing the behavior?
I need to know when the dataTable has updated so I can print out the result count which you typically see on google searches.

Please tell us about your environment:
Visual Studio Code on Windows 10

  • Angular version: 4.3.3

  • PrimeNG version: 4.1.2

  • Browser: [all]

  • Language: [all]

  • Node (for AoT issues): node --version = v6.11.0

orsolli pushed a commit to orsolli/primeng that referenced this issue Aug 7, 2017
orsolli pushed a commit to orsolli/primeng that referenced this issue Aug 7, 2017
@cagataycivici cagataycivici changed the title p-DataTable (updated) event valueChange event for DataTable Aug 7, 2017
@cagataycivici cagataycivici self-assigned this Aug 7, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Aug 7, 2017
@cagataycivici cagataycivici added this to the 4.1.3 milestone Aug 7, 2017
cagataycivici pushed a commit that referenced this issue Aug 7, 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

2 participants