Removing "Name" column from umb-table in Umbraco 13

I am creating a custom section in umbraco backoffice in an v13 installation, and I am currently making a custom section dashboard. In this dashboard I am using umb-table and populating it with data. The problem is there is a “Name” column that is always there no matter what I do.

Data is just random mock data for the example. I am at a loss as to how to remove this column.

Code, I have removed some names for privacy sake.

html

<div ng-controller="mycontroller as vm">
<umb-load-indicator ng-if="vm.loading"></umb-load-indicator>
<umb-box ng-if="!vm.loading">
    <umb-box-content ng-if="vm.items.length == 0">
        <h4>No current orders</h4>
    </umb-box-content>
    <umb-box-content ng-if="vm.items.length > 0">
        <umb-table items="vm.items" item-properties="vm.options.includeProperties">
        </umb-table>
    </umb-box-content>
</umb-box>
</div>

controller js file:

(function (window) {
    "use strict";

    var angular = window.angular;

    function myController($scope, $routeParams, $filter, editorService, autoitB2BResource) {
        var vm = this;
        vm.items = [];
        vm.options = {
            includeProperties: [
                { alias: "Id", header: "Id" },
                { alias: "OrderNumber", header: "Order number" },
                { alias: "OrderDate", header: "Order date" },
                { alias: "TotalAmount", header: "bla bla bla" }
            ]
        };
        vm.columns = [
            {
                name: "Id",
                alias: "Id",
                isSystem: false
            },
            {
                name: "Order Number",
                alias: "OrderNumber",
                isSystem: false
            },
            {
                name: "Order Date",
                alias: "OrderDate",
                isSystem: false
            },
            {
                name: "Total Amount",
                alias: "TotalAmount",
                isSystem: false
            }
        ];
        vm.loading = true;

        function map(item) {
            return {
                Id: item.id,
                OrderNumber: item.orderNumber,
                OrderDate: item.orderDate
                    ? $filter('date')(item.orderDate, 'dd-MM-yyyy')
                    : '',
                TotalAmount: item.totalAmount
            };
        }

        function loadOrders() {
            vm.loading = true;
            myResource.getCustomerOrders().then(function (response) {
                console.log(response);
                //vm.items = response.map(map);
                vm.items = response;
                vm.loading = false;
            }, function () {
                vm.items = [];
                vm.loading = false;
            });
        }

        loadOrders();

    }

    angular.module("umbraco").controller("myController", myController);

})(window);

Do you have the code for generating the layout?

Sorry I have update my OP with the relevant code.

For the time being I have devised this hack in the controller that outright removes all table cells for the name column:

setTimeout(function () {         
   var parent = document.querySelector('div[ng-controller="myController as vm"].ng-scope');         
   if (parent) {             
      var cells = parent.querySelectorAll('div.umb-table-cell.umb-table__name');
      cells.forEach(function (cell) {
         cell.parentNode.removeChild(cell);             
      });         
   }     
}, 20);

Not great, not perfect, but does the job for now. Would be even better with some option or similar.

Alternatively there is the css method:

div[ng-controller="myController as vm"].ng-scope div.umb-table-cell.umb-table__name {
    display: none !important;
}

haven’t looked recently.. but seem to remember the name column is required as that’s where the <a/> link is deposited for you to click to view/navigate to the item.
clicking elsewhere on the row selects for bulk operations?

Which I guess is where the table is tied to use in collection (list) views?

yeah it seems like it. I’m having second thought of re-using the umbraco table, as its more bare bones than than I initially thought. It doesnt do stuff like pagination for example.

https://discord-chats.umbraco.com/t/27571950/uui-table-examples

you might want umb-table (for pagination, bulk operations, sorting etc…?

could be an example here…