Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nigel Wilson 939 posts 2061 karma points
    Mar 28, 2017 @ 19:20
    Nigel Wilson
    0

    Custom Sorting in Admin Area

    Hi Tim

    I have a table which includes a datetime column and I am wanting the data to be sorted in the admin area by this column... So in theory, simple... :-)

    http://www.nibble.be/?p=493 details an event based way, but it would appear this is now obsolete with the latest version ?

    I did attempt to implement a AbstractUIOMaticRepository class, but that got all a bit too much for the little I was wanting to achieve.

    Are you able to please advise which of the above two ways is the right way now. If the second, all I really want to do is override the GetAll method...

    Cheers, Nigel

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Mar 29, 2017 @ 08:04
    Tim Geyssens
    100

    Hi Nigel, you can simply set the sort column and sort order on the uiomatic attribute, check the docs here :) http://uiomatic.readthedocs.io/en/stable/01.Usage/

  • Nigel Wilson 939 posts 2061 karma points
    Mar 30, 2017 @ 02:11
    Nigel Wilson
    0

    Hey Tim

    Mental note to self - read the documents properly... Skim reading misses important stuff.

    Cheers man...

    Nigel

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies