I have looked around and I don't see anything specific for the TreeTable itself. Within the documentation it does have an export function for a normal DataTable but not a TreeTable. I did notice that primefaces already has an exporter for their treatable but nothing within primeng. This post recently was closed without a feature being added. https://github.com/primefaces/primeng/issues/7942
I have tried using the Datatables export using the treenode array in place of the normal data array to no avail.
"sales: TreeNode[];"
"const worksheet = xlsx.utils.json_to_sheet(this.sales);"
Is there a simple workaround to make it possible to export treetable data within primeng?
How can I export a Treetables data to excel?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests