mercredi 12 juin 2019

How to handle Multiple check-boxes in Reactjs?

"I am really stuck in this problem for past 1 week. Actually I am getting an array of strings from the API that contains the ID of employees. Now I am showing it in a table and it contains check-boxes before them. Now when I sort the Admin ID column, the Admins get sorted out but the check-boxes are left in there original position."

So I want a solution where both the Admin ID and check-boxes move simultaneously with each other on sorting that column.

I will attach some screenshots of the table so that it will be easy to understand the problem"

enter image description here

enter image description here




Aucun commentaire:

Enregistrer un commentaire