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

114
Views
mover la lista entrante a la tabla

Devolver una lista desde el backend. Asigné esta lista al contexto. Luego quiero mover la lista devuelta a un componente listo.

pago.js

 const { paymentInfoData, setPaymentInfoData } = useContext(PaymentInfoDataContext); const req = { policyNumber: '1258128722', renewalNumber: '00', policyTypeExtCode: '718', productTypeExtCode: '1000032' }; useEffect(() => { if (props.location.state.policy.isActive === true && Object.keys(paymentInfoData).length === 0) { PolicyService.getAsosInstallments(req).subscribe( (response) => { setPaymentInfoData(response); // console.log(response); } ); } }, []);

pago.html

 <TabPanel value={value} index={0} > <EnhancedTable variant="edit" paymentList={paymentInfoData}/> <div className="policypaymentinfo__button_container"> <AS.Button variant="outlined" onClick={handlePayment}> Devam </AS.Button> </div> </TabPanel>

tabla.js

 function createData(date, price) { return { date, price }; } const rows = [ createData('03/04/2021', '250 USD'), ];

¿Cómo muevo los datos dentro de la fila? Puedo ver los accesorios en la consola.

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!