Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table Problem , Please Help
Table Problem , Please Help [message #548391] Wed, 21 July 2010 12:27 Go to next message
Eclipse UserFriend
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 08:52 Go to previous message
Eclipse UserFriend
Hi,

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

HTH,
Previous Topic:StyledText widget redesign
Next Topic:Tables with CHECK: difference between platforms
Goto Forum:
  


Current Time: Sun Aug 31 02:13:48 EDT 2025

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

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

Back to the top