Replies: 2 comments
-
I'm a beginner but I'll try to give you my contribution. Table Builder - Columns : Aligning column content
|
Beta Was this translation helpful? Give feedback.
0 replies
-
only way i got this to work was to make a custom class that extends the @php
$columns = $getGridColumns();
@endphp
<div {{ $attributes->merge($getExtraAttributes(), escape: false) }}>
<x-filament::grid :default="$columns['default'] ?? 1" :sm="$columns['sm'] ?? null" :md="$columns['md'] ?? null" :lg="$columns['lg'] ?? null" :xl="$columns['xl'] ?? null"
:two-xl="$columns['2xl'] ?? null" @class(['items-center gap-3'])>
<x-filament-tables::columns.layout :components="$getComponents()" grid :record="$getRecord()" :record-key="$recordKey" />
</x-filament::grid>
</div> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how can i vertically align all items in a table grid to be centered?
Beta Was this translation helpful? Give feedback.
All reactions