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

154
Views
Feather icons not displaying in react-data-table-component column

I have using react-data-table-component in my Reactjs application. In my custom column I am using anchor tags as buttons and is using feather-icons for that. The problem is that the icons are not showing. Sometimes it shows when I click any other link on the page. I am initiating the feather icon inside useEffect hook. How can I fix this?

const columns = [
    {
      name: 'S/N',
      selector: row => row.u_id,
    },
    {
      name: 'Username',
      selector: row => row.username,
    },
    {
      name: 'Action',
      cell: row => <><a href="javascript:void(0)" onClick={(e) => getUser(e, row.u_id)}><span data-feather="edit"></span></a><a href="javascript:void(0)" onClick={(e) => deleteUser(e, row.u_id)}><span data-feather="trash"></span></a></>
    },
  ];

useEffect(() => {
    feather.replace()
  }, []);


<DataTable
              columns={columns}
              data={users}
              pagination
            />
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!