Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

183
Visualizações
I m not getting any value while using React Table when i use Cell property

So, I am getting the data from an API, and I display this data in React Table. One of the columns in the Table is a date and I run special function to display the date in readable format on accessor property in React Table, but I want to run the same function in Cell property. When I run the function on Cell property i get empty cells.

return [
    {
      Header: t('textCreatives:table.creationDate'),
      accessor: Accessor.timeFormat('createdAt'),
      className: 'text-nowrap',
    },
    {
      Header: t('textCreatives:table.offers'),
      accessor: Accessor.idWithNameFormat('offer.id', 'offer.name'),
      className: 'text-nowrap',
    },
 ]

When I add Cell property to the Table I get an empty cell

return [
    {
      Header: t('textCreatives:table.creationDate'),
      accessor: 'createdAt',
      className: 'text-nowrap',
      Cell: (prop) => Accessor.timeFormat(prop.value)
    },
    {
      Header: t('textCreatives:table.offers'),
      accessor: Accessor.idWithNameFormat('offer.id', 'offer.name'),
      className: 'text-nowrap',
    },
 ]

Can someone assist me with this issue?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda