File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes RCP-SWT table data on button click Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "RCP-SWT table data on button click" Watch "RCP-SWT table data on button click" New topic
Author

RCP-SWT table data on button click

Tejaswini Pol
Greenhorn

Joined: Aug 25, 2010
Posts: 3
Hi All,

I am working on RCP (SWT) for developing screens/ views.
I want to create a table with first column read only and others editable, user can enter values in the editable columns.
And after entering the values and clicking on Save button I want the data of each cell of table, which inturn will be saved in database.

Can ne1 please help.

Following is code snippet (which I found on net) for table with first column non editable.


Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Please UseCodeTags next time. I've added them for you this time. I would also advice you to keep your indentation consistent. Either use 4 spaces (preferred amount), or 2, or tabs, but don't mix them all like this.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tejaswini Pol
Greenhorn

Joined: Aug 25, 2010
Posts: 3
Thanks Rob, will do that next time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RCP-SWT table data on button click
 
Similar Threads
determine the number of rows to be saved from a table to an excel sheet
java SWT application giving error while executing jar file
retrieving data from table and saving into database
Why can't I delete item form table.(SWT)
Callable and SWT - How to keep Thread in Background when startet by ButtonDown-Event