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 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