Skip to content

Unexpected toggleAllRowsSelected behaviour with server side pagination #5929

Open
@Faithfinder

Description

@Faithfinder

} else {
preGroupedFlatRows.forEach(row => {
delete rowSelection[row.id]
})
}

I believe the logic branch above should instead replace selection state with {}.

When paginating server side, selection state can contain rows from multiple pages, however since data only has one page at a time "Deselect all" only ever deselects current page, when it should deselect everything.

Related: #5875, for similar problem with "Select all" behaviour.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions