Article View: borland.public.jbuilder.java.swing
Article #10064JTable - Input from Multiple Choice
From: Yael Raz
Date: Wed, 01 Dec 1999 00:00
Date: Wed, 01 Dec 1999 00:00
19 lines
1385 bytes
1385 bytes
Hi, Can anyone please tell me: is there a standard way of restricting the values a user can enter into a table column to a set of choices. The effect I'm after is that when they tab into a cell in this column, instead of the normal edit mode they'd see a drop-down list with the allowable values. It should be possible to do by creating a special TableCellEditor derived from Choice, but being such a basic grid operation, I was hoping there might be a simpler standard way to say "this string array contains the options for this column". Alternatively, could someone point me in the direction of a good grid control? No offence to JTable, but it's not exactly the best tool for in-line editing. The Borland ones don't look all that crash-hot either. Thanks, Yael.
Technical Details
Message-ID:
<oJ314.326$gb7.5032@ozemail.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,d7246a656f18280b,start X-Google-Attributes: gid111d45,public From: "Yael Raz" <yaelr@locus.com.au> Subject: JTable - Input from Multiple Choice Date: 1999/12/01 Message-ID: <oJ314.326$gb7.5032@ozemail.com.au> X-Deja-AN: 555185551 Distribution: world X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Trace: ozemail.com.au 944031700 203.108.34.232 (Wed, 01 Dec 1999 18:01:40 EST) Organization: OzEmail Ltd, Australia NNTP-Posting-Date: Wed, 01 Dec 1999 18:01:40 EST Newsgroups: borland.public.jbuilder.java.swing