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

181
Views
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
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!