Submitted by WayneK on 2022/07/27 16:10

Set up:

  • 1) Left pane = main view of Grid-1
  • 2) Right pane = view pane of same Grid-1 (right-click>copy view>paste view)

1) Select subitem

2) Refresh grid

3) Outline collapses to one level; current item selection is lost and moves to the top item in the grid.

This has happened many times but not all the time.  In one grid set up it happens 100% of the time but in another grid with a similar set up it doesn't happen.

Can't figure out what could be triggering it.

I've had a lot of issues over the past few minutes working in the set up described above.  I know you won't be able to reproduce it but if it fits with your working method, you might find it interesting to set one grid as described above and work in it over a period of time to see if you encounter issues.

Just one other mention of something else to look for: item dragged from one pane to a different position in the other pane (eg new parent) often remains behind in the source pane and has to be deleted from the view manually. 

Wayne

Win10, Pre24

    Comments

    OK, it IS set to flat view.  I'll have to go back to my display mode notes because it's not immediately evident to me why this would cause the behavior.

    I changed to outline mode because I wanted some items to appear as TLI's and as subitems in the same grid.  When I tried to do that using outline mode, the TLI versions kept disappearing.

    Wayne

    In a nutshell, in Flat View, you get a flat list of all items that meet the source (+filter, etc)

    So in the simplest case, you have Grid1 with Grid1 field as the source. You can show the Grid1 field as a grid column (checkbox)

    Then every single item that has Grid1 checked, irrespective of where it is in the database, of what hierarchies it is in, will be shown as a top level item

    Details here: 1. Grid Display Modes

    Yes, I understand that.  That's why I'm using flat view. 

    I don't see how that explains losing the selection focus, collapsing the outline, and moving the selection to the top of grid. 

    Note that this happens 100% of the time no matter which item is selected in this grid. Go to the grid, randomly select an item, refresh grid: the misbehavior ensues.

     

     

    I don't see how that explains losing the selection focus, collapsing the outline, and moving the selection to the top of grid. 

    Flat view always refreshes to "all items collapsed" by design (as the purpose is to focus on items that meet the source) 

    So if the focused item it NOT a first level item (i.e. a sub-item), then on refresh, focus cannot return to that item (parent collapsed)

    General Discussion