Article View: borland.public.jbuilder.java.swing
Article #12077Re: Adding Columns to Jtable at Runtime
From: apatil
Date: Mon, 22 Feb 1999 00:00
Date: Mon, 22 Feb 1999 00:00
21 lines
1323 bytes
1323 bytes
Hi John I tried adding column to the table at runtime. But the column which is newly added becomes non functional without any data and also I cannot edit the cells in the column . I think the problem lies with setting the model index for the column. If I set a modelIndex which is already existing to the new column then everything works fine but data in the columns is repeated. Please help me in solving this problem . Also possibly send the code where u have implemnted this. Ajay -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<7aqmtu$61b$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36B9822D.34CDC91A@sheffield.ac.uk> <79cbjd$ivl$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3f3bbfe523f452fc X-Google-Attributes: gid111d45,public From: apatil@digit.com Subject: Re: Adding Columns to Jtable at Runtime Date: 1999/02/22 Message-ID: <7aqmtu$61b$1@nnrp1.dejanews.com> X-Deja-AN: 446935550 References: <36B9822D.34CDC91A@sheffield.ac.uk> <79cbjd$ivl$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 199.190.198.20 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Feb 22 04:37:19 1999 GMT Newsgroups: borland.public.jbuilder.java.swing X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I)