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

DataTable 勾选时候 同一个名字的会自动勾选 能不能只勾选需要的行? #2282

Closed
huxinshuo opened this issue Dec 14, 2024 · 4 comments
Labels
status/resolved The issue has been fixed type/question Further information is requested

Comments

@huxinshuo
Copy link

huxinshuo commented Dec 14, 2024

Proposal and motivation

DataTable 勾选时候 同一个名字的会自动勾选 能不能只勾选需要的行?
微信截图_20241214211938

Additional context

No response

@huxinshuo huxinshuo added the type/enhancement New feature or request label Dec 14, 2024
@capdiem
Copy link
Contributor

capdiem commented Dec 14, 2024

@huxinshuo 保证Key唯一,使用ItemKey指定。

@capdiem capdiem added type/question Further information is requested status/resolved The issue has been fixed and removed type/enhancement New feature or request labels Dec 14, 2024
@huxinshuo
Copy link
Author

@capdiem
Func<TItem, string>

能否支持int ItemKey="r => r.ID" 提示ID无法转换为string

@capdiem
Copy link
Contributor

capdiem commented Dec 15, 2024

@huxinshuo r.ID.ToString()

@huxinshuo
Copy link
Author

可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/resolved The issue has been fixed type/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants