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

126
Views
Ag-grid sort refreshes everytime I sort it only after build

I am using ag-grid for my project. As shown in the image, once I sort IMEI or another column, the sorted values stay, but if I sort validity (it is sorting based on a custom sort function), it goes back to the default value.

This only happens in the production environment. I have observed that there is some issue with ag-grid after react app is built. Any suggestions on how to make it work?

Here is the custom sorting function (for reference):

comparator: (valueA, valueB) => {
        if (valueA === valueB) return 0;
        return valueA > valueB ? 1 : -1;
      },

Click here to see image of the table

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!