Skip to main content



      Home
Home » Eclipse Projects » NatTable » How to add additional columns in excel export
How to add additional columns in excel export [message #1713331] Tue, 03 November 2015 07:33 Go to next message
Eclipse UserFriend
Hi,

Have tried excel export with NatTable and it is working perfectly fine for all the visible columns in NatTable. But I want to include the ID of the row and few more additional information along with the visible cell, so that i can use the same excel during import and modify the data.

Please let me know, how to achieve this utilizing the existing NatTable exporters.

Thanks,
Siva Kovvuri
Re: How to add additional columns in excel export [message #1713685 is a reply to message #1713331] Thu, 05 November 2015 18:06 Go to previous message
Eclipse UserFriend
You need to extend NatExporter and override exportLayer() to add your additional columns. And for using your custom NatExporter you need to register custom ExportCommandHandler that use your NatExporter instead of the existing one. There is no build in support for achieving your requirement.

If the columns you are talking about are already there, but just hidden, you could for example implement a custom export handler that first makes everything visible, then does the export, and on the end hide the columns again.
Previous Topic:Nattable
Next Topic:sorting a tree column with equal roots issue
Goto Forum:
  


Current Time: Thu Jun 19 11:29:56 EDT 2025

Powered by FUDForum. Page generated in 0.04946 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top