✨ Trip: table column resizable
This commit is contained in:
parent
0fdd149dc9
commit
d8cb828963
@ -92,7 +92,8 @@
|
|||||||
@defer {
|
@defer {
|
||||||
@if (flattenedTripItems.length) {
|
@if (flattenedTripItems.length) {
|
||||||
<p-table [value]="flattenedTripItems" class="print-striped-rows" styleClass="max-w-[85vw] md:max-w-full"
|
<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>
|
<ng-template #header>
|
||||||
<tr>
|
<tr>
|
||||||
@if (!tableExpandableMode && tripTableSelectedColumns.includes('day')) {<th class="w-24" pResizableColumn>Day
|
@if (!tableExpandableMode && tripTableSelectedColumns.includes('day')) {<th class="w-24" pResizableColumn>Day
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user