I want to achieve something that is in my current sandbox:
Currently I've hardcoded the nonSelectable: [1, 2] so it will make row 1 and 2 unselectable.
Now I want to make the rows unselectable based on the file's createdByID.
If the file's createdByID is same with the user's login ID, then it will be selectable, else it won't, but my issue now is that how do I get each row's data and compare their createdByID with the user's ID then return the indexes that needs their checkbox to be disabled as an array to the nonSelectable prop?
I've found this link but I'm not quite sure how to get it work as I am not sure where to get the key.
