From 0a336465f24a34a074482319e2e9fe3f8ceffaa9 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 4 Sep 2025 15:44:34 -0400 Subject: [PATCH] Closes #19428: Add u_height column to devices table --- netbox/dcim/tables/devices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/netbox/dcim/tables/devices.py b/netbox/dcim/tables/devices.py index 8287e3666..fe07bb57f 100644 --- a/netbox/dcim/tables/devices.py +++ b/netbox/dcim/tables/devices.py @@ -195,6 +195,11 @@ class DeviceTable(TenancyColumnsMixin, ContactsColumnMixin, NetBoxTable): linkify=True, verbose_name=_('Type') ) + u_height = columns.TemplateColumn( + accessor=tables.A('device_type.u_height'), + verbose_name=_('U Height'), + template_code='{{ value|floatformat }}' + ) platform = tables.Column( linkify=True, verbose_name=_('Platform')