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

136
Views
how to use react icons with AgGrid?

I'm trying to use react Icon with AgGrid but I didn't succeed.

I'm using a function that render a text and a function to render the icon but I get this result

this is the render inside the AgGrid:

cellRenderer={(params) => checkStatus(params.value) + " / " + checkEvaluationStatus(params.value)}

this is the function to render the icon:

 const checkEvaluationStatus = (params) => {
       if (params == 0) {
      return (
        <FcApprove />
      )
    }
    else {
      console.log('in')
      return (
        <FcApproval />
      )
    }
  };

NB: when I call the function outside the AgGrid and give it a parameter it works perfectly.

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!