sjPlot / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Table highlighter incorrect for empty table #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See attached image.
Here's the code to reproduce it (kind of).
It's an empty table, with one column which you sort on

tblSearchResults = new JXTable();
        tblSearchResults.setUI(new ITunesTableUI());

        TableUtils.SortDelegate sortDelegate = new 
TableUtils.SortDelegate() {
            public void sort(int columnModelIndex, TableUtils.SortDirection 
sortDirection) {
                // trigger your sorting here.
            }
        };
        TableUtils.makeSortable(tblSearchResults, sortDelegate);
        jScrollPane1.setViewportView(tblSearchResults);

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by pieterja...@gmail.com on 9 Jul 2009 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by kenneth....@gmail.com on 10 Jul 2009 at 10:44

GoogleCodeExporter commented 9 years ago
Can you see if the attached jar fixes your issue?

Original comment by kenneth....@gmail.com on 16 Jul 2009 at 6:37

Attachments:

GoogleCodeExporter commented 9 years ago
The trunk still has this issue.

Original comment by dlemmermann@gmail.com on 20 Jan 2010 at 5:37