Skip to Content

Agentry - dynamically sorting List Tile View

I have a List Tile View on a detail screen.  The list tile view is sorted via the Fixed Sort Property on the Order property.  Within the list tile I want the user to be able to modify the value in the Order property, and after they save the change I want the list to dynamically re-sort itself.  This is working well immediately after the change is saved (the list gets re-sorted as expected), however the next time you click on the list tile the rows don't get rendered properly.    Is this type of dynamic sorting of a list tile supported in Agentry?

Thanks

Tim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 09, 2016 at 05:48 PM

    Hi Tim,

    I have seen the fixed sort property works fine in WPF client but not the dynamic sorting(user can't sort the list as per his choice).

    What version and platform of Agentry client are you using?

    Could please elaborate the requirement?

    -Sudhir.

    Add comment
    10|10000 characters needed characters exceeded

    • Mark,

      I had set the rows/columns to 100x100 myself when I created the screen.  I use 100x100 normally for all screens, and I didn't think it would make a difference on the edit screen.  However I'm guessing that 100 rows was too many for the edit screen to handle, so changing it to 1 row resolved it.

      Thanks

  • avatar image
    Former Member
    Mar 08, 2016 at 08:42 AM

    Tim,

    Are you storing this dynamic edited property in workorder object? I think in 2nd time navigation the property value getting changed to default. Can you please store it in Main Object and give a try?

    Add comment
    10|10000 characters needed characters exceeded

    • Ajitesh,

      Are you saying the Order value needs to be stored as a direct property of MainObject?  Currently the Order is stored in an object that that is part of a nested collection two levels below MainObject.

      MainObject

           NestedCollection1

           Object1

                NestedCollection2

                Object2

                     Order

      It would be a very large change to my data model if I would need to move the Order property directly under MainObject.

      I'm using straight Agentry, not using a framework such as Work Manager.

      Thanks