Do a Sort when DataChanged

Jan 16, 2012 at 9:42 AM
Edited Jan 16, 2012 at 9:43 AM

I found a small addition which should be made to the code.

If you update some data you should do a sort. You don't see that a sort has to be done while the data is grouped. In the groups everything is sorted correct. But you will see a mistake if you do this:

1. Change the data to get a group with 3 entries.

2. Modify the one in the middle to move it to a different group.

3. Click on the first entry in the old group. Then Shift-Click on the last entry in the old group.

-> The entry you moved away before will be selected then together with the other two. That's wrong. Doing a re-sort will fix that.