by malpropio <dimitri.charles@[EMAIL PROTECTED]
>
May 21, 2008 at 08:06 AM
I found a diff route to that, I created my own TableRowSorter and I
override the isSortable(int column) function where I always return
false, so the filtering still works but the sorting is disabled.
On Mar 26, 4:45=A0pm, RedGrittyBrick <RedGrittyBr...@[EMAIL PROTECTED]
>
wrote:
> 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
> =A0 =A0table.setAutoCreateRowSorter(true);
>
> and doing the filtering in an AbstractTableModel sub-class instead?
>
> --
> RGB