Bug or feature: TableView sorts the underlying list?

that's at least highly unexpected - all variants of table sorting I know, support some kind of sortedView on top of the user model (either by a framework outside of the table, as GlazedList, or internal as core swing).
Is it a not-yet-done feature or yet another variant of leaving the hard stuff to the user dev?
CU
Jeanette

JonathanGiles wrote:
This is by-design. We consider the items list in the TableView to be the view model - clicking on a column results in the view model being sorted.
There are ways around this. If you provide a TransformationList (e.g. SortedList) wrapped around an ObservableList, the TableView will sort the SortedList, leaving the underlying ObservableList unsorted and still available via SortedList.getDirectSource() or getBottomMostSource() (depending on how many layers of wrapping you have).that's exactly what I keep complaining about:
- framework handles the trivial stuff: it simply pushes a comparator into a sortable list is or lets collections.sort do the work
- developers are left with the harder parts like index mapping
Actually, the framework is hit by those missing harder parts as well:
- SortedList freaks out on mutable elements, basically because the internal index mapping is not optimal (http://javafx-jira.kenai.com/browse/RT-14965)
- Selection synch is broken when sorting/filtering (and TableView taking the extreme easy way out in clearing ... tseee), don't have a report handy, but know that you are aware of the issue : - )
- no way to "unsort" a TableColumn (http://javafx-jira.kenai.com/browse/RT-15166) in the general case. Even for a SortedList, that would involve to restore the original comparator (instead of leaving the TableColumnComparator in place)
Cheers
Jeanette

Similar Messages

  • How can I sort the delegates list?

    I am using iCal in an office situation and am managing a large number (15) of delegates (they all have their own calender).
    I can sort the delegates list via Preferences, Accounts, Delegation and then add the delegates I need in the order that I prefer.
    But I am looking for a more easier way to sort this list.
    Who can help me with this?

    Hi Katherine,
    You have to specify the order manually I'm afraid.
    Regards,
    Jamie

  • How can I sort the target list in debug form.

    If I want to select a procedure/function to debug it is very hard to find it if the package contains a lot of procedures. How can I sort the target list. I did not find anything in the preferences. Thanks.

    Sorry, can't be done. You can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
    My suggestion (if you decide to request it): base the order in the dialog on the order inside the navigator tree (location in the source by default, but possible by name or type/name - see tree's context menu).
    Regards,
    K.

  • Is it possible to sort the VPN list?

    I've got 15 different VPNs that I connect to, and I'd like to sort the list that shows in the VPN menu and in the network preferences. Is there any way to do this?

    How wrong some one can be by reading to fast.
    Sorry for the misunderstanding.
    You are writhe, I using a MS Laptop from the company I work for , and YES, I use VPN to log-in the company server. But sorry I don't know how to help you.
    Dimaxum

  • Sort the themes list?

    Hello!
    I can't figure out how Keynote sorts its themes list. There are a few that I use a lot, and others that I don't use much at all. Unfortunately, a couple that I want regularly are at the bottom of my 60+ themes list... and are a drag to use when I use multiple variants of a theme in a presentation to represent different concepts/ideas. Is there an easy way to reorder the list?

    Some versions of Keynote alphabetize at the folder level first, then the theme level (you can have folders in your themes folder), others just read every theme and then put them in order. If you want things to be at the top, you can go into the themes folder and put spaces or other characters at the front of the theme name. Keep in mind that the Apple themes will ALWAYS be at the top because they're inside the Keynote application, not in the themes folder.

  • Another bug-or-feature question with the audio bin

    So, if you add a new file to the audio bin, the region appears all grey, meaning it's actually not used in the arrange. Fine. If you drop that region into the arrange, it will change to whatever colour the track is set to, and if you resize the region, this too will be reflected in the bin, BUT if you later delete the region from the arrange, it will NOT go back to all grey. And if fact, if you drop it back to the arrange, it will still keep the previous resizing.
    So it can be interpreted both ways:
    - It's a feature so you can always re-use that region as you left it.
    - It's a bug and it really should reflect the state of the region at all times.
    I think I'll go for the latter.
    Oh, and a really silly and minor graphic bug in the mixer.
    If you have enough channel strips and scroll horizontally with the mighty mouse ball, back and forth a few times, some of the EQ letters in the eq thumbnails move out of place (it seems like I have a lot of spare time...).

    ...and, what definitely is a bug, is the view->show region use count, give it a try and you'll see what I mean...

  • Bug or feature: TableView.EditEvent - same type for value and row?

    Just noticed (normally I don't care overly much about generics, they are my natural enemies : -) that the return type for both cell and row data is the same:
    class EditEvent<T> {
        T getNewValue()
        T getOldValue()
        T getRowValue()
    }old/new value is fine, but typically the row has another type, which most probably is completely unrelated, as f.i. in
    TableView<Person> tableView = new TableView<Person>(persons);
    TableColumn<String> firstName = new TableColumn<String>("First Name");
    firstName.setProperty("firstName");
    EventHandler<EditEvent<String>> nameEditHandler = new EventHandler<TableView.EditEvent<String>>() {
                @Override
                public void handle(TableView.EditEvent<String> e) {
    // compile error
                    Person p = (Person)e.getRowValue();
                    String newValue = (String)e.getNewValue();
                    p.setFirstName(newValue);
    firstNameCol.setOnEditCommit(nameEditHandler);The compile error is due to the event requiring the same type for row and cell. Obviously, can remove all type parameters - but how to solve cleanly without getting unchecked/rawtype warnings?
    Thanks
    Jeanette

    Good morning, Jonathan (my day time : -)
    If you mean that big issue where you threaten (and locally actually already did) to remove all the niceties of auto-magic column binding via setting property names - yeah, I've read it, partly unhappily. But that's another story.
    to create two separate EditEvents - one for row edits and one for cell edits.
    hmm .. have been expecting something along the lines of
    EditEvent<R, C> {
         R getRowValue();
         C getOldValue();
         C getNewValue();
    // used in
    TableView<R>
    TableColumn<C>
    // for row edits
    R == C
    getRowValue() == getOldValue()Musing a bit longer, the event could be streamlined a bit - remove all the convenience sugar: the receiver has to know the exact details of grabbing the data anyway in order to be able to change it (in the current workflow, it's not necessarily the way to go) so old/row is redundant
    EditEvent<S> {
       <S> getEditValue();
    }Cheers
    Jeanette

  • GUI Bug Outlook 2013 while sorting E-Mail in the list view in the main window

    Hello,
    I found a bug in Outlook 2013 - following occures: in main window, when I sort the list view with e-mails by "sent to" or by "received from" and when I delete one mail from this list, the view is not correct, because after the deleted
    E-Mail disapears when I go with my mouse Cursor over other e-mails in the list Outlook 2013 shows all mails from the top of the list (beginning in alphabetical or reverse alphabetical order) as I move with mouse over neighbour mails from the corrected view
    instead of the same view with only that one item deleted. The scroll element right has the right Position, but after clicking on the arrow up or arrow down within this element it jumps to the start. This has worked in my Outlook 2010 well, and this is very
    unpleasant because I can not work well everytime sorting my mails right again after I deleted one. This seems to be only the case if I sort my mails by Name, not if sorted by size or received/sent date, then list view works well. I use Windows 7 Ultimate x64
    and Office 2013 x32, on HP6910 with ATI graphics Card. Whole System works fine since years. Is there any log file I can submit? Is my description clear? Please help , thanks.
    regards
    Bogusz Schubert
    PIMPEX Bogusz Schubert
    Vohwinkeler Str. 58
    42329 Wuppertal
    Tel +49 202 4299 2270
    Fax +49 202 4299 2271

    I made a screenshot of this: after deleting email from a Partner starting with letter "D" Outlook jumped back to the top of the list starting with "1" - you clearly see the wrong Position of the scroll element right and false broken view of the mails
    at my mouse Cursor
    Picture is under the Domain mt.i24.cc slash outlook2013guibug1.jpg
    any help will be much appreciated

  • BUG: Sorting drop-down lists from the field tab when using "specify item values"

    Hi all,
    I've finished creating my form now, but I came across this whilst writing up my documentation for maintenance tasks.
    This occurs when adding new values to a drop-down list that has the "Specify item values" checkbox in the binding tab checked.
    When I then try to sort my list using the built in sort buttons, it will sort the items, but the list of specified values in the binding tab does not sort reorder to stay with the original items in the list.  This is hapenning when I sort from the Object > Field tab.  If I sort in the Object > Binding tab then the sort will include the specified values.
    For example:
    A    5
    C    2
    D    9
    Add a new value to get:
    A    5
    C    2
    D    9
    B    10
    Sort the list using the button:
    A    5
    B    2
    C    9
    D    10
    But it should be:
    A     5
    B     10
    C     2
    D     9

    I was able to duplicate this problem and it looks like a possible bug.  I've submitted it to support.

  • New feature request: please show values once i sort the list in My Samples

    would like to see actual stats / values once i sort the list in My Samples, for e.g. it would be great to display the download count in the list once i sort by downloads or display the ratings once i sort by ratings, etc...
    This should be just like when i search by my name when on the samples home pg.
    hope to see this feature soon, thanks!

    I have been wanting a way to search only my threads. That would be a nice feature. I know that in the last 3,800 posts I have posted something along the line of "ZZZZ" but I can only find it by looking at most of the 3800 posts. This isn't good. I could
    narrow it down to 2000 by selecting Answered, but really I still need to search? And no don't limit my threads to any amount to make it load faster because the truth is it did not load any faster on any of the 12 machines I use.
    We are the generation of needing it all at our fingertips...Don't limit anything only facilitate us getting to the specifics we need at this second. You give someone a 1 cubic foot swimming pool and tell them that's enough cause it's all the space they can
    take up at one time anyway...Give us an ocean so we can swim in the part that is good for us but help us get there with some flippers (filters) on our own threads. And please don't tell us to use a general search on all threads...I tried to find 1 of my threads
    that way and after reading though 25 or so threads proceeded to skim the headers and after 200+ I gave up trying to find my thread because you can not unless you get really lucky.
    Thank you for your time!!!
    Chris Ward

  • HELP! iPod sorting artists that start with "The" under "T"

    OK, so I synced my iPod classic last night, and now ALL artists that start with "The" are listed alphabetically under "T". Prior to last sync, it had never done this. I didn't change any setting, the only reason for the sync was to add a podcast that had downloaded. It also appears that the sorting feature is no longer ignoring punctuation, because "Weird Al" Yankovic is now alphabetically first, as opposed to under "W" where he was previously. What happened, and how do I get it back to normal?
    Thanks

    Hi, welcome to Apple Discussions.
    It should sort itself out if you reset your iPod, otherwise you will need to do a complete restore. If you are not familiar with those terms take at look at http://www.apple.com/support/ipod/five_rs/classic/
    tt2

  • When I bootup the icon for Elements shows up in orange.  It changes to green only when I've gone to Finder and clicked on Elelments under the Devices list.  This is a recent development.  The icon used to be green upon bootup.  Does anyone know why ?

    When I bootup the icon for Elements shows up in orange.  It changes to green only when I've gone to Finder and clicked on Elelments under the Devices list.  This is a recent development.  The icon used to be green upon bootup.  Does anyone know why ?

    I'm sorry to hear that.
    I'm not affiliated w/ the developer, just a happy user that gave up fighting the apple podcast app a while ago.  I used to have a bunch of smart playlists in itunes for my podcasts, and come home every day and pathologically synced my phone as soon as I walked in the door, and again before I walked out the door in the morning.
    Since my wife was doing this too, we were fighting over who's turn it was to sync their phone.
    Since I've switched to Downcast, I no longer worry about syncing my phone to itunes at all.  I can go weeks between syncs.
    Setup a "playlist" in downcast (ex., "Commute") and add podcasts to that playlist.  Add another playlist ("walk" or "workout") and add different podcasts to that one. 
    Set podcast priorities on a per-feed basis (ex., high priority for some daily news feeds, medium priority for some favorite podcasts, lower priority for other stuff).  Downcast will play the things in the priority you specify, and within that priority, it will play in date order (oldest to newest).
    Allegedly, it will also sync your play status to other devices, although that is not a feature I currently use and can't vouch for.  It uses apple's iCloud APIs, so to some extent may be limited by what Apple's APIs can do.

  • Itunes 11 sorts album under different artists name in the artist view - any idea why?

    I have just be kindly given the Maroon 5 Holiday gift via 12 days (thanks iTunes).  I also have their album 'songs about Jane' and a track from a Rihanna album which is a Maroon 5 track featuring Rihanna but issued on the Rihanna album.
    When sorted by Album the Maroon 5 albums and Rihanna track are sorted together under Maroon 5.
    However, when sorted by Artist the artist for the Album 'Songs about Jane' is being shown as Rihanna (?) but when I check the 'Get Info' data Maroon 5 are clearly shown as the Album Artist.  The holiday gift and the Rihanna track are shown under the artist Maroon 5.
    Wierd ... any ideas why and how to correct?

    Wish I did. I tried the group function but that didn't help in iTunes. The search function is the best I came up with. I can answer the question do you have susch and such artist. But I can't browse for an artist I don't remember exactly or have misspelled. Fortunately I don't think I've bought anything from iTunes that i already had. If you can't see an artist it's possible you think you don't have something you actually do have. Sorry, still hoping for a better work around or better yet a fix.

  • Thoughts about the bin window - bugs or features and workarounds...

    Hi there,
    I really have big toubles using the bin window. It is even worse in OSX.5 (the only thing I don't like with OSX.5 and Logic8!).
    There are some Problems:
    1. I can't move any audio-files to wherever I want them to without Logic is copying them back into the audio-folder by saving the song. The problem is that I want Logic to copy imported audio files into the audio-folder but if I change something manually Logic should remember that without working against me. So for example: I am bouncing a lot of audio into the bounce folder. In Logic 7 all the finished bounces were located there on the hard drive. Easy to find and to organize. But in Logic 8 they are moved to the audio-folder and I have to search very carefully which files I want to send to my client. That's the biggest source of trouble for me right now.
    2. If I am making groups, Logic is sometimes copying even that audio-files back into the normal audio-folder. The problem here is: sometimes. I really have no idea what the problem is. Sometimes just some audiofiles are staying in the group (on the hd) for a couple of Logic-saves and then are moved back at the 10th save or something.
    3. I am not able to organize my groups and audio files very well. So if I have group that always is shown on top of the bin window and I have a audio-bounce called "zoo" it is the last one in the list. Then I have to move it the whole way up to the group. That costs me about a half our per day. Way too much. There should be some kind of easier handling. For example a second window for groups or something. The next one is that I have to call the group something like 001AASFX or ZZZ_SFX so that I am able to find it fast enough in the finder. It was so much easier to go the bounce folder in Logic 7 days.
    4. The hide-regions keycommand was unstable with OSX.4.10 but now with OSX.5 it is not working at all. If I choose a audiofile in the bin window and hit the standard keycommand for hiding regions just the region for that audiofile is hiding and instantly shown again. I want to have a shorter way to move my bounced files into the group that is the whole way up to the list's beginning.
    So I wonder if that are new features or if it is really buggy. I am not able to work with that structure right now and with that kind of unstable location behavior. Are there any workarounds, tips, tricks? Is there anyone who feels like me? May I hope for a update?
    That's it
    Xcell
    Message was edited by: Axel Rohrbach

    Hey Jim,
    thanks for the support. Seems to be something Apple has to work on. There are some posts and questions about the bin window in every forum I know but there is never a "this is not want we want and there are bugs" - thread. In fact the whole Logic 8 structure with the one-window-gui is great and works much better than I expected. So it is no general "what the **** are they doing"-thing
    Nevertheless, is there a way to get this to apple? I don't know if they are aware of these problems and perhaps the testers are making music with one bounce and that's it. Just one file is not that difficult to handle, organize and to find. But there are other users working in different ways (like us I think).
    @ David: I am sorry but you are wasting time and thread-space. If you don't say anything if you do not feel comfortable nothing will change. You are not able to let it rain in Austria (yet) but there are real guys working at apple and it's not a kind of wonder that there is logic at all. So am trying to discuss here something and hope for any reaction or attention and don't need any "go deeply into your self and you will find a way"-stuff. Thanks anyway to bring god back to that forum.
    Xcell
    Message was edited by: Axel Rohrbach

  • Has anyone else lost the ability to see  apple tv on the device list, its no longer under devices either!, has anyone else lost the ability to see  apple tv on the device list, its no longer under devices either!

    has anyone else lost the ability to see  apple tv on the device list, its no longer under devices either!, has anyone else lost the ability to see  apple tv on the device list, its no longer under devices either!

    *Feedback*
    "Use the form below to send us your comments. We read all feedback carefully, but please note that we cannot respond to the comments you submit."
    http://www.apple.com/feedback/ipad.html
    We can complain about Apple's business decisions, but these discussions are user to user talk about possible solutions.
    Here are the places to report bugs:
    Get an account at
    http://developer.apple.com/  then submit a bug report to http://bugreporter.apple.com/
    Once on the bugreporter page,
       -- click on New icon
       -- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs.  Scroll down to find the area or application that matches the problem.
       -- etc.

Maybe you are looking for

  • KM for File to Hyperion Planning

    All, I am trying to load a file to a Hyperion Planning application. I have successfully reverse engineered the planning application, to a planning data model. I am now loading back the Entity Data store (from the reverse engineered Planning data mode

  • Error in workflow Lead to Opportunity

    Hi, I am using BB guide to customize Lead. Completed all the steps mentioned in the BB guide to start the standard workflow WS10001011 but getting following error while testing it. Pl guide how to resolve this issue? Error processing following event

  • How do I put a tick in a box on a form

    How do I put a tick in a box on a form

  • Acrobat Updater keeps failing...shows error 1402 (Could not open key).  Why?

    I bought Acrobat Pro XI, but keep getting an error 1402 when trying to update.  Why?

  • How to delete Existing Computations

    Hi I am new to APEX. We have application express 3. I created a Create Page Computation in my page. I tested it, it didn't work. I need to modify the existing computation. but there is no delete or modify option for existing computaions. Please sugge