microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
123 stars 38 forks source link

Issue with azure-devops-ui #9

Open jhandel opened 5 years ago

jhandel commented 5 years ago

I am going to submit this here because there is no public repo for azure-devops-ui to submit to and there is no contact on the docs page (https://azdevui.azureedge.net/)..

Tables with checkboxes do not work with multiple tables in the same module. Checking items seems to do random things..

Here is a sandbox example of the broken behavior: https://codesandbox.io/embed/x9wy96nm5p

ranavale commented 4 years ago

I couldn't find the documentation or example for table with checkbox and actions to track the current selected row (when the row is selected by clicking the checkbox of the table row)

gitnubster commented 1 year ago

I think the tableItems are not unique or sharing event handlers or something like that. When you clone the checkboxColumns constant in TableData.tsx, and name it checkboxColumns2 for example... then import+use it in the 2nd Table in example.tsx. Then it seems to work. Something to do with observables (non educated guess)?