Copied to clipboard

Flag this post as spam?

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


  • Enrique Capellan 40 posts 173 karma points
    Nov 25, 2019 @ 19:21
    Enrique Capellan
    0

    Hide name from umb-table

    Hi, I'm using the umb-table component on a custom dashboard I've created. Is there a way to hide or remove the name field? It is show by default and I don't have a name field, so I don't need it to show.

    enter image description here

  • Mark Drake 133 posts 457 karma points c-trib
    Feb 10, 2020 @ 03:40
    Mark Drake
    0

    Enrique, sorry this hasn't been answered yet. Did you find a solution?

  • AbsolutelyN 85 posts 433 karma points
    Oct 05, 2020 @ 12:35
    AbsolutelyN
    1

    Also looking for a solution to this but don't think there is one.

    The obvious one is to rename your data fields so you have a name field.

    My own solution is just to use the umb-table CSS and roll your own custom table. More work but you can customise as much or little as needed.

            <div class="umb-table">
                <div class="umb-table-body">
                    <div ng-repeat="item in vm.results" class="umb-table-row">
    
                        <div class="umb-table-cell">
                            <i class="umb-table-body__icon umb-table-body__fileicon icon-user"></i>
                        </div>
    
                        <div class="umb-table-cell">
                            <a href="#/{{item.id}}">{{item.firstname}} {{item.lastname}}</a>
                        </div>
    
                        <div class="umb-table-cell">
                            {{item.email}}
                        </div>
    
                        <div class="umb-table-cell">
                            {{item.organisation}}
                        </div>
    
                    </div>
                </div>
            </div>
    

    Backoffice docs are hard work, would be amazing if they could be improved on as it makes building custom sections slow and difficult.

Please Sign in or register to post replies

Write your reply to:

Draft