Grid re-sorts itself after item in grid is selected

Certified Senior Developer

I have a simple interface rule that displays a grid of items sorted by an expiration date. The grid uses a query rule and a CDT for the items listed. My issue is that once the user selects one of the items, that item drops to the bottom of the list. Any idea why it would do this? I don't have any errors; the query rule does not include a 'sort by' and the selection part works just fine. I would also like the user to be able to sort on the other columns (which doesn't work now) but the most troubling issue is that the selected item moves to the bottom of the grid.

GridResortIssue.txt

OriginalPostID-225683

OriginalPostID-225683

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I'd recommend paying particular attention to mschmitt's last paragraph and the example provided. If you add a debug field pointing to your local!gridSelection you will probably notice that selecting a row will wipe the pagingInfo and therefore your sort order will reset to that of the original query. I've seen this behaviour for many years and assume it is on a bug list somewhere....
Reply
  • 0
    Certified Lead Developer
    I'd recommend paying particular attention to mschmitt's last paragraph and the example provided. If you add a debug field pointing to your local!gridSelection you will probably notice that selecting a row will wipe the pagingInfo and therefore your sort order will reset to that of the original query. I've seen this behaviour for many years and assume it is on a bug list somewhere....
Children
No Data