i have a button in my column to change the color of the Row , i have check the componentdidupdate and shouldupdatecomponent state are getting change but the change not reflected in the UI, when sorting or the color also getting change.
sample project in the above link.
onclick of the btn the color should change.
You have to track selected items inside state and to update list on
onClick:And finally one function to check does item from original array exists as selected:
Forked working example.
Note: To style FluentUI Components use
Stylesproperty insteadStyle. More info here.