N
Nuxt3mo ago
thejacer87

UTable static column width

how can I set certain columns to a fixed-width
1 Reply
Patrity
Patrity3mo ago
You can get the header slot for the column you want want manually size a div inside. A little janky but it works:
<template #package-header="{ column }">
<div class="w-96">
{{ column.label }}
</div>
</template>
<template #package-header="{ column }">
<div class="w-96">
{{ column.label }}
</div>
</template>
Want results from more Discord servers?
Add your server