Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

142
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda