How to code this in netrexx? TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to code this in netrexx? TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());

jannerudwall
Hi!
Just how do i code this in netrexx?

TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());
table.setRowSorter(sorter);
List<RowSorter.SortKey> sortKeys = new ArrayList<>();

Best Regards!
Janne Rudwall
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to code this in netrexx? TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());

rvjansen
sorter = TableRowSorter(table.getModel())
table.setRowSorter(sorter)
sortKeys = ArrayList()

that should be it. Let me know if you have trouble.

best regards,

René.


> On 16 Nov 2016, at 15:05, jannerudwall <[hidden email]> wrote:
>
> Hi!
> Just how do i code this in netrexx?
>
> TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());
> table.setRowSorter(sorter);
> List<RowSorter.SortKey> sortKeys = new ArrayList<>();
>
> Best Regards!
> Janne Rudwall
>
>
>
> --
> View this message in context: http://ibm-netrexx.215625.n3.nabble.com/How-to-code-this-in-netrexx-TableRowSorter-TableModel-sorter-new-TableRowSorter-table-getModel-tp4027897.html
> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to code this in netrexx? TableRowSorter<TableModel> sorter = new TableRowSorter<>(table.getModel());

jannerudwall
Hi!
Super, Thank You!!!
Best Regards!
Janne
Loading...