diff --git a/projects/ppwcode/ng-common-components/src/lib/table/abstract-table.component.ts b/projects/ppwcode/ng-common-components/src/lib/table/abstract-table.component.ts index 8215f7e..4f9333e 100644 --- a/projects/ppwcode/ng-common-components/src/lib/table/abstract-table.component.ts +++ b/projects/ppwcode/ng-common-components/src/lib/table/abstract-table.component.ts @@ -123,7 +123,7 @@ export abstract class AbstractTableComponent>> = linkedSignal(() => { return new MatTableDataSource(this.localRecords()) }) - dragDisabled = true + public selection = new SelectionModel>( true, [], diff --git a/projects/ppwcode/ng-common-components/src/lib/table/table.component.html b/projects/ppwcode/ng-common-components/src/lib/table/table.component.html index fd4626f..cb88324 100644 --- a/projects/ppwcode/ng-common-components/src/lib/table/table.component.html +++ b/projects/ppwcode/ng-common-components/src/lib/table/table.component.html @@ -22,16 +22,7 @@ - drag_indicator - + drag_indicator @if (footerData() !== undefined) { @@ -165,13 +156,13 @@ @if (expandable()) { diff --git a/projects/ppwcode/ng-common-components/src/lib/table/table.component.scss b/projects/ppwcode/ng-common-components/src/lib/table/table.component.scss index cc451a5..c8b5e5c 100644 --- a/projects/ppwcode/ng-common-components/src/lib/table/table.component.scss +++ b/projects/ppwcode/ng-common-components/src/lib/table/table.component.scss @@ -124,7 +124,7 @@ } } -.ppw-table-row-enter { +.ppw-table-row-enter:not(.cdk-drag-preview) { animation: slide-in-row 0.25s ease-in-out; }