|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Unable to get the correct selection with sortingHi there !
I'm using Glazedlist with a JXTable and I have some troubles with selection. I am using a EventSelectionModel with my EventList and it works fine if a don't sort the row (getSelected() return the correct instance). If I sort the row the getSelected() function do not return the correct selected instance but it return the instance that was previously at this index (before sorting). Is there a way to correctly retreive the user selection with sorting ? Thanks for your help ! And sorry for my english :) Julien |
|
|
|
|
|
Re: Unable to get the correct selection with sortingEnsure you pass the same, identical EventList to the constructor of EventTableModel and EventSelectionModel.
James On Sun, Jul 26, 2009 at 1:36 PM, Holger Brands <hbrands@...> wrote: Hi Julien, |
|
|
Re: Unable to get the correct selection with sortingHi Holger,
I have disabled the selection mapper but I was only focus on the "Maintaining Selection" title on the swingX's page. I tried the second approach but I did not succeed (I've maybe misunderstood the snippet) but it worked with the first one. Thanks a lot for your answers and for maintaining this great project ! Julien
|
| Free embeddable forum powered by Nabble | Forum Help |