primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.36k stars 4.58k forks source link

Export support for column group #3626

Closed sambanthar closed 6 years ago

sambanthar commented 7 years ago

datatable export not export table group header

huseyinturkmenoglu commented 7 years ago

Hi, I tried to datatable export and using here -£> http://primefaces.org/primeng/#/datatable/export

It exported table group header : header

May be i understood wrong to you, could you explain your issue ? ( Please use screenshoot or plnkr.co for good understanding :) )

Have nice a day.

huseyinturkmenoglu commented 7 years ago

Is that what you mean by saying "Group header"? -> DataTable - Column Grouping

Are you using this ?

sambanthar commented 7 years ago

yes. but i export it only export header not the DataTable - Column Grouping.

huseyinturkmenoglu commented 7 years ago

Can you share an example (with Excel tables or a simple code sample)?

sambanthar commented 7 years ago

image

assume that is my datatable it display correct but when i click csv export button which is provide in the site.

this is the result i get in my excel.

image

please help me

cagataycivici commented 6 years ago

p-dataTable is deprecated and will be removed in favor of the new p-table (aka TurboTable) of 5.1.0 so closing the issue. Please try the new p-table once 5.1.0 is released.

AndaP94 commented 2 years ago

Hi, i saw this open question, export csv with header groups? i use primeNg 11.4 on Angular and try to export a table with more groups, is there any example, how i can export it?

image

this is the template i want. Thank you