🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9657

Re: want non-movable columns in Jtable

#9657
From: John P. McGrath
Date: Fri, 11 Feb 2000 00:00
12 lines
817 bytes
On Thu, 10 Feb 2000 20:44:47 -0500, Phil Hess wrote:

> Does anyone know how to keep the columns from being dragged
> from left to right when you click on the headers? Basically
> rearranging the order of the columns.

    jTable.getTableHeader().setReorderingAllowed( false );

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.130d6fff2d3a190e989787@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <87vp44$d4f9@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,235a172c441f9480
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: want non-movable columns in Jtable
Date: 2000/02/11
Message-ID: <MPG.130d6fff2d3a190e989787@forums.borland.com>
X-Deja-AN: 584433788
References: <87vp44$d4f9@bornews.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing