Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
How can I show edit button in column cell while hovering over table row in Material UI Table? - when enter the row all edit button will not hover

I am facing the problem, when i enter the table row all the edit button hover all together which i dont want. I just want to hover only that particular edit button of that row table.

const [showActionId, setShowActionId] = useState('');

//Returning the jsx in TableBody
<TableRow key={row.email} hover className={classes.tableRow} component={Link} to={`${ROUTE_USERS}/${row._id}`}
                 onMouseEnter={() => {
                   setShowActionId(row.id);
                 }}
                 onMouseLeave={() => setShowActionId('')}
>
// Button here which have to hover when mouseenter on table row
<TableCellButton align='center'>
                     <Link to={`${ROUTE_USERS}/${row._id}`}>
                       <Button className={classes.button} size='small' color='default'>
                         {row.id === showActionId ? 'Hover' : ''}
                         <IconEdit />
                       </Button>
                     </Link>
</TableCellButton>

enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!