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

315
Views
¿Cómo puedo formatear el informe generado con un archivo de Excel usando jquery o laravel framework?

He generado este informe en Excel usando jquery, pero también quiero formatear este informe. ¿Hay algún paquete de Laravel o algún complemento de jquery que pueda usar para convertir este formato de archivo en este?

 <script> $(".btn-create-now").click(function(e) { $html = $(".table-holding-data").html(); $("#div_convert_table_into_file table").html($html); $("#div_convert_table_into_file table").find("*").removeAttr('class'); $("#div_convert_table_into_file table").find("*").removeAttr('style'); window.open('data:application/vnd.ms-excel,' + $('#div_convert_table_into_file').html()); e.preventDefault(); }); </script>

Aquí está mi código de jquery para generar un informe.

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Mattwebsite/excel es un paquete laravel utilizado para crear archivos de Excel. Lea la documentación de maatwebsite/excel

 public function downloadExcel() { $data = Post::get()->toArray(); return Excel::create('laravelcode', function($excel) use ($data) { $excel->sheet('mySheet', function($sheet) use ($data) { $sheet->fromArray($data); }); })->download('name.xlsx'); }

Javascript/JQuery

TableExport La biblioteca simple y fácil de implementar para exportar tablas HTML a archivos xlsx, xls, csv y txt.

about 4 years ago · Santiago Gelvez 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!