Skip to content

Feature Request: Configurable Enterprise-Style Row Selection for BbDataGrid #456

Description

@SimonLiebers-Dev

Summary

BbDataGrid currently supports single- and multi-selection. In multi-selection mode, clicking a row simply toggles its selection state.

For enterprise applications, this behavior is often too limited. It would be useful if BbDataGrid supported configurable row selection behavior similar to desktop applications and file explorers.

Use Case

We are using BbDataGrid in an enterprise platform where users frequently work with large datasets. Standard enterprise selection patterns improve usability and align with user expectations.

Proposed Behavior

Introduce a configurable selection mode that supports the following interactions:

  • Regular click

    • Deselect all other rows.
    • Select the clicked row.
    • If the clicked row is already selected, unselect it.
  • Shift + Click

    • Select the entire range between the last selected row and the clicked row.
  • Ctrl/Cmd + Click

    • Add or remove the clicked row from the current selection without affecting the existing selection.

Proposal

Instead of implementing this as a special-case feature, it would be great if BbDataGrid exposed a configurable selection strategy or selection behavior that applications can choose from.

This would allow consumers to opt into more advanced, enterprise-style selection while keeping the current behavior as the default if desired.

Such an approach would make the component more flexible and suitable for a wider range of use cases without introducing breaking changes.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions