Skip to content

Listen for select all event? #4305

@lebolo

Description

@lebolo

I'm trying to implement a select all for external paging (i.e. one that selects all possible rows, even those not retrieved from the server yet). I keep a list of selected row identifiers on the client and, if needed, re-select rows when a user pages (i.e. gridRow.isSelected = true).

Is there a way to listen for when the user clicks on the select all checkmark? When the user clicks on the checkmark, I'd like to retrieve all possible row identifiers from the server and store them on the client-side. My current solution is to listen for rowSelectionChanged and rowSelectionChangedBatch and check if gridRows.length == paginationPageSize.

This is somewhat related to #1636 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions