Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5091

How to change rows from a database table using a SWT table

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.java.gui
Subject How to change rows from a database table using a SWT table
Date Sat, 17 Mar 2012 14:06:12 +0100
Organization Decebal Computing
Lines 15
Message-ID <87r4wrxtq3.fsf@Compaq.site> (permalink)
NNTP-Posting-Host lYLrXPFpjyZ8237ODaoN+w.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Complaints-To abuse@aioe.org
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
X-Notice Filtered by postfilter v. 0.8.2
Cancel-Lock sha1:yj9rT0rFB4uA6ibW0l30F7QcvYY=
X-Homepage http://www.decebal.nl/
Xref csiph.com comp.lang.java.gui:5091

Show key headers only | View raw


At the moment I am building a little desktop application. I am using
SWT for this. One of the things I want to use is a database. I can
fill a SWT Table with the values I retrieve with a select. (Using a
TableItem for each row of the ResultSet.) Adding to both tables does
not pose a problem either. But I was wondering how to handle edits and
deletes. For this I need the key of a record, but I would not want to
display the keys in my table.

How can I get edit and delete functionality without showing the keys
to the user?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-17 14:06 +0100
  Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-17 17:21 -0400
    Re: How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-18 11:04 +0100
      Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 06:54 -0400
        Re: How to change rows from a database table using a SWT table Cecil Westerhof <Cecil@decebal.nl> - 2012-03-18 12:59 +0100
          Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 08:56 -0400
          Re: How to change rows from a database table using a SWT table Jeff Higgins <jeff@invalid.invalid> - 2012-03-18 12:38 -0400

csiph-web