From 3ee29fead7e0e87e3186b174a321367ae8a2ddc9 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 10 Feb 2022 08:50:07 +0100 Subject: [PATCH] data types in column header --- packages/web/src/datagrid/ColumnHeaderControl.svelte | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/web/src/datagrid/ColumnHeaderControl.svelte b/packages/web/src/datagrid/ColumnHeaderControl.svelte index 17e142a4..3c9f493b 100644 --- a/packages/web/src/datagrid/ColumnHeaderControl.svelte +++ b/packages/web/src/datagrid/ColumnHeaderControl.svelte @@ -79,6 +79,12 @@ {/if} + + {#if column.dataType && !order} + + {column.dataType} + + {/if} {#if order == 'ASC'} @@ -121,4 +127,7 @@ color: var(--theme-font-alt); white-space: nowrap; } + .data-type { + color: var(--theme-font-3); + }