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 selectionPageOnly property to DataTable #10967

Closed
mertsincan opened this issue Dec 14, 2021 · 2 comments
Closed

Add selectionPageOnly property to DataTable #10967

mertsincan opened this issue Dec 14, 2021 · 2 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@mertsincan
Copy link
Member

When enabled with paginator and checkbox selection mode, the select all checkbox in the header will select all rows on the current page.

@mertsincan mertsincan added the Type: New Feature Issue contains a new feature or new component request label Dec 14, 2021
@mertsincan mertsincan added this to the 13.0.3 milestone Dec 14, 2021
@mertsincan mertsincan self-assigned this Dec 14, 2021
mertsincan added a commit that referenced this issue Dec 14, 2021
@mertsincan
Copy link
Member Author

Fixed in #10951

@jdsalasca
Copy link

jdsalasca commented Apr 1, 2022

Hi, I'm trying to use this property but it doesn't work, DataTable doesn't recognize the usage

"<DataTable value={this.state.products} selection={this.state.selectedProducts9} onSelectionChange={e => this.setState({ selectedProducts9: e.value })} dataKey="id" responsiveLayout="scroll" selectionPageOnly paginator rows={5}>"

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