Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

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