Submitted by dderkits on 2020/09/03 11:35
I have recently begun using the "Show in a New Tab" feature (accessed by right-clicking on the Tab) to have the same Grid open simultaneously under two Tabs so that I can more easily work on different sections of the same Grid without having to scroll up and down within one Tab.
 
I want control over the sequence/structure of the Items in my Grid, as the sequentiality of Items can be as important as the hierarchy of Items.
 
Here is the bug, by way of example:
 
I view the Grid in one of the tabs. I would like to insert a new Item on, say, line # 45, so that it is after the Item on line #44 but before the Item that is on line #45 prior to inserting the new Item (shifting this Item down one line, to line #46). When I insert the Item, it appears as expected on line #45 in that Tab, but when I click on the second Tab to view the same Grid there, the newly-created Item occupies line #1. The sequentiality has not been preserved.
 
I have also had occurrences where the newly-added Item will appear at the last line in the other tab, again with loss of sequentiality.
 
Note that this phenomenon should be easily reproduceable.
 
Best,
 
- David Derkits
 
 
 

Comments

I verified that that is how it works.  I'm not sure I would consider it a bug.  When new items are added to a grid, they are added at the top.  Since your second view is already existing, adding an item is treated the same way as any added item: it goes to the top.  Pierre can address whether it is feasible to get the 2nd view to always maintain the same order as the first.
 
I understand the importance of maintaining the sort order you want so I will repeat the suggestion I have made on here a number of times: create a sequence text column where you quickly add sequential numbers for maintaining the sort you want.
 
This can be quickly done using the renumber command.  Get the items in the order you want and assign the sequence numbers (eg 001, 002...).  When you add an item, assign a sequence number so it will sort how you want.  If you want the item to fall between 004 and 005, number it 004.1 or 004a.  If this gets too cluttered, simply delete all the numbers and re-number the whole list.  Very easy and quick to do.
 
Whenever you want the 2nd view to be sorted properly, just sort by the Seq column.
 
If you want to create multiple sorts for the same items, create multiple sequence fields.
 
All of the above is quickly done and, for me, wholly automatic for every list I create.
 
If you do the above you will have complete control of your sorting and will never have to worry about it getting scrambled for any reason.
 
Wayne
 
As a side note, when I am taking notes on a book or article, I have the Seq column do double duty by using page numbers.  Sequence # 200.01 is the first note on page 200 of the source.  This allows me to sort the notes in order and see the page number that each note came from, neatly displayed in one column