Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueTea committed May 23, 2024
1 parent a2e9bc3 commit 440a454
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/app/components/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
overflow: auto;
}



.p-datatable-table {
border-spacing: 0px;
width: 100%;
Expand Down Expand Up @@ -153,8 +155,13 @@
cursor: move;
}


[pReorderableColumn] {
cursor: move;
}

.p-reorder-column-disabled {
cursor: default;
}

/* Loader */
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4025,7 +4025,8 @@ export class ResizableColumn implements AfterViewInit, OnDestroy {
@Directive({
selector: '[pReorderableColumn]',
host: {
class: 'p-element'
class: 'p-element',
'[class.p-reorder-column-disabled]': '!isEnabled()'
}
})
export class ReorderableColumn implements AfterViewInit, OnDestroy {
Expand Down

0 comments on commit 440a454

Please sign in to comment.