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 944 posts 2076 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

  • Comment author was deleted

    Mar 29, 2017 @ 08:04

    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 944 posts 2076 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

Please Sign in or register to post replies

Write your reply to:

Draft