Category : html-table

I have a component with 2 tables: 1)favouriteProjects 2)projects Link to picture The project will be send from my .html to my ts file and will be added to an favArray. If I click on the star next time, the project will be removed from the favourite table. How can I save the checked stars ..

Read more

I have multiple html tables in one file. and I want to export all tables in csv file. I am using "XLSX" package . exportAsXLSX() { let element = document.querySelectorAll(‘csv-table’); const ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(element); const wb: XLSX.WorkBook = XLSX.utils.book_new(); XLSX.utils.book_append_sheet(wb, ws, ‘sheet1’); XLSX.writeFile(wb, this.fileName); } Is there any other method so i can export ..

Read more

I want to build a table where every column is a response from an API call and contains some elements. I tried different approaches with material table but nothing seems to work. The problem comes from the fact that I try to build it on columns and not on rows (there are different number of ..

Read more