I am using primeng P-table. I can export like this.
products: Product[]; exportExcel() { import("xlsx").then(xlsx => { const works