primeng icon indicating copy to clipboard operation
primeng copied to clipboard

datatable radio/checkbox selections not updated at events

Open Ketec opened this issue 9 years ago • 2 comments

There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[ x] bug report => Search github for a similar issue or PR before submitting
[ ] 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

* Current behavior selectRowWithRadio toggleRowWithCheckbox toggleRowsWithCheckbox

Are missing this.selectionChange.emit(this.selection); therefor the selection is not up to date when listening to the onRowSelect event.

Ketec avatar Oct 06 '17 12:10 Ketec

I ran into this same thing and changed the selection emitter to be before the onRowSelect event where it currently is after the event gets fired. I believe this pull request will help this issue.

wooleverj avatar Oct 06 '17 16:10 wooleverj

PR merged.

cagataycivici avatar Oct 24 '17 14:10 cagataycivici