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

[DataGrid] Add a Selectable function parameter to SelectColumn #2709

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

miguelhasse
Copy link
Contributor

Pull Request

📖 Description

This feature introduces the ability to choose if a row can be selected when using SelectColumn.
A typical scenario would be to allow row selection based on the bound item state or a set of conditions.

👩‍💻 Reviewer Notes

A working sample has been added to FluentUI.Demo in the multi-select section.

📑 Test Plan

Unit tests covering the new parameter have been included.

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new component
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

@vnbaaij vnbaaij added this to the v4.10.1 milestone Sep 24, 2024
@vnbaaij vnbaaij merged commit 30aaf09 into microsoft:dev Sep 24, 2024
4 checks passed
@miguelhasse miguelhasse deleted the grid-selectcolumn-work branch September 25, 2024 16:57
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

Successfully merging this pull request may close these issues.

3 participants