Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table Problem , Please Help
Table Problem , Please Help [message #548391] Wed, 21 July 2010 16:27 Go to next message
Alireza  is currently offline Alireza Friend
Messages: 8
Registered: July 2010
Junior Member
Hello All,

Here is my problem. greatly appreciate if you can help.

I have a model (a set of objects representing my data) and a table to show those data. In each row of a table i have a text field and a button. I want to update my model when ever a user clicks on a button in any row and then redraw my table. For example, clicking that button can delete the whole row. I can change my model in the listener of the model, but i can not update the table. How should i do it ?

I am using TableEditor to put my controls in table cells.

Many thanks in advance.
Alireza.
Re: Table Problem , Please Help [message #549317 is a reply to message #548391] Mon, 26 July 2010 12:52 Go to previous message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,

You can have a look at the TableEditor snippets here http://eclipse.org/swt/snippets/? Please see -
Snippet88.java
Snippet124.java

HTH,


Lakshmi P Shanmugam
Previous Topic:StyledText widget redesign
Next Topic:Tables with CHECK: difference between platforms
Goto Forum:
  


Current Time: Thu Apr 25 11:28:31 GMT 2024

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

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

Back to the top