I am using DatagridPro from mui to render table, having a column for actions. From that column I am rendering icons, using <GridActionsCellItem icon={iconName}/>
. I have 5 icons rendered in same column, and when user clicks on the icon I want to do some operation from datagrid component itself, thats why to get the information of clicked action icon I was trying to use onCellClick event, but not able to achieve it. It gives me info about row but not specific clicked icon, How can I get the clicked icon information like name/id??
Asked
Active
Viewed 77 times
0

Olivier Tassinari
- 8,238
- 4
- 23
- 23

JSDrogon
- 31
- 8