diff --git a/src/demolib/HeaderCell.svelte b/src/demolib/HeaderCell.svelte index 2cf7d22..8b1b692 100644 --- a/src/demolib/HeaderCell.svelte +++ b/src/demolib/HeaderCell.svelte @@ -55,7 +55,7 @@ } }); $effect.pre(() => { - col.headerClass = col.pinned ? 'pinned-header' : undefined; + col.headerClass = col.pinned ? 'header-background pinned-header' : undefined; col.dataClass = col.pinned ? 'pinned-cell' : undefined; }) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1484cb0..3d14ae2 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -175,7 +175,7 @@ import { WjDataView } from '@wjfe/dataview'; width: 4, minWidth: 4, hidden: !demoOptions.showControlColumn, - headerClass: 'pinned-header', + headerClass: 'header-background pinned-header', dataClass: 'pinned-cell', }} > @@ -235,12 +235,25 @@ import { WjDataView } from '@wjfe/dataview'; \ No newline at end of file