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 Senior Developer
    Just updated my SAIL code as suggested and the selected item is still resorting. I initially had an 'ORDER by agreementdescription, expiredDate' in my view which I thought was conflicting with my 'sortInfo' in the interface rule so I removed that from my view - but the grid still resorts. Is there a way to force it to stay sorted by the expireddate? The PK on the table used in the view is on the id. Do I need to add an index on the table?
Reply
  • 0
    Certified Senior Developer
    Just updated my SAIL code as suggested and the selected item is still resorting. I initially had an 'ORDER by agreementdescription, expiredDate' in my view which I thought was conflicting with my 'sortInfo' in the interface rule so I removed that from my view - but the grid still resorts. Is there a way to force it to stay sorted by the expireddate? The PK on the table used in the view is on the id. Do I need to add an index on the table?
Children
No Data