primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.62k stars 4.63k forks source link

Component: Table dataKey with 2 keys for checkboxes #16435

Open kagannikita opened 2 months ago

kagannikita commented 2 months ago

Describe the bug

In my entity I have unique only by 2 fields. DataKey accept only string as keyof of entity. How can I use datakey with 2 keys. It's duplicate for this question https://github.com/primefaces/primeng/issues/5383#issuecomment-728713523. But it was closed. And I don't find out solution in this issue. Can you help me, plz?

Environment

In my entity I have unique only by 2 fields. DataKey accept only string as keyof of entity. How can I use datakey with 2 keys. It's duplicate for this question https://github.com/primefaces/primeng/issues/5383#issuecomment-728713523. But it was closed. And I don't find out solution in this issue. Can you help me, plz?

Reproducer

No response

Angular version

17.3.10

PrimeNG version

17.18.10

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

21.1.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

github-actions[bot] commented 1 week ago

More information is needed to find a solution. A runnable StackBlitz example and additional details would be helpful.