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


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

Re: disable the sorting

From "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this>
Subject Re: disable the sorting
Message-ID <ttydnenqR7CWK3fanZ2dnUVZ8selnZ2d@bt.com> (permalink)
Newsgroups comp.lang.java.gui
References <1633dbba-2ac1-45a6-b576-098ce93bfda4@z38g2000hsc.googlegroups.com>
Date 2011-04-27 15:44 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
malpropio wrote:
> I'm using filtering on a jtable so I can't disable rowSorting
> altogether but I wont to disable the rowSorting feature thats in the
> jtableHeader, does anyone have any idea how the is done ??
> thank you

By not using
   table.setAutoCreateRowSorter(true);

and doing the filtering in an AbstractTableModel sub-class instead?

-- 
RGB

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

disable the sorting  func "malpropio" <malpropio@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
  Re: disable the sorting "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
    Re: disable the sorting f "malpropio" <malpropio@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000

csiph-web