diff --git a/resources/views/components/cols.blade.php b/resources/views/components/cols.blade.php index d93782e2..e1dfb58f 100644 --- a/resources/views/components/cols.blade.php +++ b/resources/views/components/cols.blade.php @@ -41,7 +41,7 @@ class="{{ theme_style($theme, 'table.header.th') . ' ' . data_get($column, 'head @if ($isFixedOnResponsive) fixed @endif @if (data_get($column, 'enableSort')) x-multisort-shift-click="{{ $this->getId() }}" wire:click="sortBy('{{ $field }}')" @endif - style="{{ data_get($column, 'hidden') === true ? 'display:none' : ''; }} width: max-content !important; @if (data_get($column, 'enableSort')) cursor:pointer; @endif {{ data_get($column, 'headerStyle') }}" + style="{{ data_get($column, 'hidden') === true ? 'display:none' : '' }}; width: max-content !important; @if (data_get($column, 'enableSort')) cursor:pointer; @endif {{ data_get($column, 'headerStyle') }}" >
visibleColumns as $column) @include('livewire-powergrid::components.summarize', [ 'sum' => data_get($column, 'properties.summarize.sum.footer') ? data_get($column, 'properties.summarize_values.sum') : null, diff --git a/resources/views/components/table-header.blade.php b/resources/views/components/table-header.blade.php index 33e238b4..b0278e67 100644 --- a/resources/views/components/table-header.blade.php +++ b/resources/views/components/table-header.blade.php @@ -8,7 +8,7 @@ @endif @foreach ($this->visibleColumns as $column) + style="{{ data_get($column, 'hidden') === true ? 'display:none': '' }}; {{ data_get($column, 'bodyStyle') ?? '' }}"> @include('livewire-powergrid::components.summarize', [ 'sum' => data_get($column, 'properties.summarize.sum.header') ? data_get($column, 'properties.summarize_values.sum') : null, 'labelSum' => data_get($column, 'properties.summarize.sum.label'),