Trip: table column resizable

This commit is contained in:
itskovacs 2025-08-16 16:17:50 +02:00
parent 0fdd149dc9
commit d8cb828963

View File

@ -92,7 +92,8 @@
@defer {
@if (flattenedTripItems.length) {
<p-table [value]="flattenedTripItems" class="print-striped-rows" styleClass="max-w-[85vw] md:max-w-full"
[rowGroupMode]="tableExpandableMode ? 'subheader': 'rowspan'" groupRowsBy="td_label">
[rowGroupMode]="tableExpandableMode ? 'subheader': 'rowspan'" groupRowsBy="td_label"
[resizableColumns]="tableExpandableMode">
<ng-template #header>
<tr>
@if (!tableExpandableMode && tripTableSelectedColumns.includes('day')) {<th class="w-24" pResizableColumn>Day