Copied to clipboard

Flag this post as spam?

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


  • ThomasBrunbjerg 90 posts 182 karma points
    Sep 21, 2017 @ 06:54
    ThomasBrunbjerg
    0

    Rearrange sidepanel menu options

    I am using UIOMatic to create backoffice CRUD functionality and have at the moment 4 different tables displayed. There's just one slight problem. I need to have the order in which the links to the different tables are displayed arrange differently. This is how they look now: https://i.imgur.com/f8mk9kx.png

    I need to have the "Nye Bookinger" placed at the top, and the "Blokerede Perioder" placed at the bottom. I looked through the UIOMatic source code and could find no way of doing this simple thing.

    Where could i possible find the code to rearrange these table links? The aliases have nothing to do with the order, as the don't follow any alphabetical sorting.

  • Kevin Jump 2342 posts 14889 karma points MVP 8x c-trib
    Sep 21, 2017 @ 12:21
    Kevin Jump
    0

    Hi

    if each table is using its own class then the order value in the UIOmatic attribute will set the order.

    for example:

    [UIOMatic("people", "People", "Person", FolderIcon = "icon-users", ItemIcon = "icon-user", Order = 1)]
    

    http://uiomatic.readthedocs.io/en/stable/01.Usage/

Please Sign in or register to post replies

Write your reply to:

Draft