Get selected row from grid when multiple selection enabled

Đang mở
#1,271 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the discussion linked from the issue and the grid component documentation or implementation to find how multiple selection is exposed. Determine whether the selection-change event provides the changed row or only the full selected list. Done means users can identify the row whose selection changed and handle selecting and deselecting it; the issue names no files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Discussed in https://github.com/vikramlearning/blazorbootstrap/discussions/1265

Originally posted by curtic00 February 24, 2026
Hi.
Is it possible to determine which row has had it's selection changed in a grid with multiple selection enabled?

My use case is that my grid displays a list of users. those users who are members of a group are shown as selected.

When I select a user, I want to run code that adds the user to the group. When I un-select a user, it removes the user from the group.

At the moment, it seems to me that one can only retrieve the full list of selected users.

image

Thanks in advance, charlie

Ngôn ngữ chính
HTML
Star
1.2k
Fork
111
Merge trung bình
4 phút
Pull request đã merge (30 ngày)
55

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vikramlearning/blazorbootstrap

Tất cả issue của vikramlearning/blazorbootstrap

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.