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

130
Views
I want to show the filtered search from an array, I cannot return it in front end

I want to display the Project Name and other indexes from filteredResults, how can I map it and its indexes? Or parsing?

I put it on onClick event:

function filter() {  
  var filteredResults = projectData.filter((f => f.ProjectName.includes(filterKeyword) && (f  => f.PartitionKey.includes(nameArea))));
  console.log(filteredResults);       
};

return:
  <Stack direction="row" id="projectResults">
    <Masonry columns={2} spacing={2}>
      {!!projectData && (
        projectData.map((card, index) => (
          <MasonryItem key={card.RowKey}>
            ...
          </MasonryItem>
        ))
      )}
    </Masonry>
  </Stack>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Your filter callback is not valid.

Try changing it to this:

var filteredResults = projectData.filter(f => f.ProjectName.includes(filterKeyword) && f.PartitionKey.includes(nameArea));
about 4 years ago · Juan Pablo Isaza Report
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!