🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.vajava.language
Article #34

Re: How to filter rows in a JTable

#34
From: sbodapati
Date: Mon, 22 May 2000 00:00
20 lines
1720 bytes
I have dont it...You need to setup a
    int[] filterIndex..........
and let the getValutAt() method know what rows you need to display based on
your
filterIndex.....
All your data will reside on a Vector/Hashtable....and filterIndex contains
the element# in the vector/Hashtable.

Good luck
-sbodapati@yahoo.com

Sebastien Alonzo wrote:

> I'm currently working on an extended JTable bean to add sorting and
> filtering features.
>
> I solved the sorting issue using the Sun sample TableSorter, but I don't
> seem to find any sample describing how to implement a "TableFilter".
>
> Has anyone did that before ?
Technical Details
Message-ID: <39294C0B.E531B42E@telcordia.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38F369A7.14AB1FDB@fr.ibm.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114aa0,63f47b0069405cb0
X-Google-Attributes: gid114aa0,public
X-Google-Thread: 123fa6,63f47b0069405cb0
X-Google-Attributes: gid123fa6,public
X-Google-Thread: 109b1c,63f47b0069405cb0
X-Google-Attributes: gid109b1c,public
X-Google-Thread: fed75,63f47b0069405cb0
X-Google-Attributes: gidfed75,public
From: sbodapati@telcordia.com
Subject: Re: How to filter rows in a JTable
Date: 2000/05/22
Message-ID: <39294C0B.E531B42E@telcordia.com>
X-Deja-AN: 625876563
Content-Transfer-Encoding: 7bit
References: <38F369A7.14AB1FDB@fr.ibm.com>
To: Sebastien Alonzo <salonzo@fr.ibm.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@news.software.ibm.com
X-Trace: news.software.ibm.com 959007660 12360 128.96.182.96 (22 May 2000 15:01:00 GMT)
Organization: IBM Software Group                 
Mime-Version: 1.0
NNTP-Posting-Date: 22 May 2000 15:01:00 GMT
Newsgroups: ibm.software.vajava.language,ibm.software.vajava.beans,ibm.software.vajava.ide,ibm.software.vajava.entreprise