How to get row data in Edit icon without onClick event
I have a customized Edit icon (per the code below) that I have to add an aria-label to in order to meet accessibility requirements at my job. The aria-label has to include the name of the item being edited so that screen readers can distinguish which item is being edited.
For example, aria-label="Edit SomeServerName".
However, I can't find any information on how to pass rowData to the icon other than through the onClick event, which doesn't help me at all. Can anyone help me? Is this even possible?
My Code:
icons={{
Edit: React.forwardRef((props, ref) => (
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.