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

DataTable 2.8.0 cannot use multiple selection with lazy mode #2103

Closed
timurash opened this issue Feb 3, 2022 · 1 comment
Closed

DataTable 2.8.0 cannot use multiple selection with lazy mode #2103

timurash opened this issue Feb 3, 2022 · 1 comment

Comments

@timurash
Copy link

timurash commented Feb 3, 2022

[x] bug report

This is reopen of this issue: #2051

https://codesandbox.io/s/primevue-2-datatable-checkbox-selection-in-lazy-mode-ts5dc?file=/src/App.vue

Current behavior
When using lazy option with multiple selection, top checkbox of multiple selection is not getting selected when all rows is selected, When hitting top checkbox, all rows gets selected, but the checkbox itself doesn't get selected

Expected behavior
Top checkbox gets selected when all fields is selected

In other issue @tugcekucukoglu showed example of using this feature on PrimeVue 3: #2051 (comment)

But DataTable component in PrimeVue 2.8.0 doesn't have selectAll prop and not emitting select-all-change event like DataTable component in PrimeVue 3

How can i achieve the behaviour i need in PrimeVue 2?

Can you provide some example on PrimeVue 2?

Vue version: 2.6.14
PrimeVue version: 2.8.0

@tugcekucukoglu
Copy link
Member

Fixed for next version #2109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants