Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid - data into Excel
Grid - data into Excel [message #59802] Tue, 07 October 2008 17:20 Go to next message
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 79
Registered: July 2009
Member
Hi,
I have a user need to export data from grid to excel. I would appreciate
very much if someone can point me in a right direction.

Thanks,

Dhiresh
Re: Grid - data into Excel [message #59922 is a reply to message #59802] Thu, 09 October 2008 13:11 Go to previous messageGo to next message
Raghava Rao is currently offline Raghava RaoFriend
Messages: 64
Registered: July 2009
Member
Hello Dhiresh,

create new excel file.

Treeviewer has to be expanded using expandAll for getting information.

use string buffer to store the information.

get the column information using grid.getColumns. add required spaces and
newline separator.

for getting cell data use getColumnCount,getItemCount ,getItemData(index)
add required spaces.


Thanks,
Raghava
Re: Grid - data into Excel [message #60273 is a reply to message #59802] Wed, 29 October 2008 02:16 Go to previous message
David Kyle is currently offline David KyleFriend
Messages: 125
Registered: July 2009
Senior Member
Dhiresh,

We use Java Excel to export data from grid to an Excel file.

http://jexcelapi.sourceforge.net/

David Kyle
http://richclientplatform.blogspot.com/
Re: Grid - data into Excel [message #592502 is a reply to message #59802] Thu, 09 October 2008 13:11 Go to previous message
Raghava Rao is currently offline Raghava RaoFriend
Messages: 64
Registered: July 2009
Member
Hello Dhiresh,

create new excel file.

Treeviewer has to be expanded using expandAll for getting information.

use string buffer to store the information.

get the column information using grid.getColumns. add required spaces and
newline separator.

for getting cell data use getColumnCount,getItemCount ,getItemData(index)
add required spaces.


Thanks,
Raghava
Re: Grid - data into Excel [message #592637 is a reply to message #59802] Wed, 29 October 2008 02:16 Go to previous message
David Kyle is currently offline David KyleFriend
Messages: 125
Registered: July 2009
Senior Member
Dhiresh,

We use Java Excel to export data from grid to an Excel file.

http://jexcelapi.sourceforge.net/

David Kyle
http://richclientplatform.blogspot.com/
Previous Topic:Traverse between cells using Tab key
Next Topic:CDateTime - Unwanted popup size change
Goto Forum:
  


Current Time: Mon Dec 22 16:34:58 GMT 2014

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

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